diff options
author | Martin Brandenburg <martin@omnibond.com> | 2016-02-20 14:22:40 -0500 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-02-24 17:07:50 -0500 |
commit | 47b4948fdb1055cd8d8f86aebb0b3fcb06ba36d5 (patch) | |
tree | 57fb61a4062793df3c85c405b57fd16448969279 /fs/orangefs/upcall.h | |
parent | ee70fca0bc9a4a85c239e4f08b7ebf8351d2a733 (diff) | |
download | lwn-47b4948fdb1055cd8d8f86aebb0b3fcb06ba36d5.tar.gz lwn-47b4948fdb1055cd8d8f86aebb0b3fcb06ba36d5.zip |
orangefs: use ORANGEFS_NAME_LEN everywhere; remove ORANGEFS_NAME_MAX
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/upcall.h')
-rw-r--r-- | fs/orangefs/upcall.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/orangefs/upcall.h b/fs/orangefs/upcall.h index 781cbc38523a..af6dcac180ab 100644 --- a/fs/orangefs/upcall.h +++ b/fs/orangefs/upcall.h @@ -27,20 +27,20 @@ struct orangefs_lookup_request_s { __s32 sym_follow; __s32 __pad1; struct orangefs_object_kref parent_refn; - char d_name[ORANGEFS_NAME_LEN]; + char d_name[ORANGEFS_NAME_MAX]; }; struct orangefs_create_request_s { struct orangefs_object_kref parent_refn; struct ORANGEFS_sys_attr_s attributes; - char d_name[ORANGEFS_NAME_LEN]; + char d_name[ORANGEFS_NAME_MAX]; }; struct orangefs_symlink_request_s { struct orangefs_object_kref parent_refn; struct ORANGEFS_sys_attr_s attributes; - char entry_name[ORANGEFS_NAME_LEN]; - char target[ORANGEFS_NAME_LEN]; + char entry_name[ORANGEFS_NAME_MAX]; + char target[ORANGEFS_NAME_MAX]; }; struct orangefs_getattr_request_s { @@ -56,13 +56,13 @@ struct orangefs_setattr_request_s { struct orangefs_remove_request_s { struct orangefs_object_kref parent_refn; - char d_name[ORANGEFS_NAME_LEN]; + char d_name[ORANGEFS_NAME_MAX]; }; struct orangefs_mkdir_request_s { struct orangefs_object_kref parent_refn; struct ORANGEFS_sys_attr_s attributes; - char d_name[ORANGEFS_NAME_LEN]; + char d_name[ORANGEFS_NAME_MAX]; }; struct orangefs_readdir_request_s { @@ -84,8 +84,8 @@ struct orangefs_readdirplus_request_s { struct orangefs_rename_request_s { struct orangefs_object_kref old_parent_refn; struct orangefs_object_kref new_parent_refn; - char d_old_name[ORANGEFS_NAME_LEN]; - char d_new_name[ORANGEFS_NAME_LEN]; + char d_old_name[ORANGEFS_NAME_MAX]; + char d_new_name[ORANGEFS_NAME_MAX]; }; struct orangefs_statfs_request_s { |