summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/upcall.h
diff options
context:
space:
mode:
authorMartin Brandenburg2016-02-20 20:22:40 +0100
committerMike Marshall2016-02-24 23:07:50 +0100
commit47b4948fdb1055cd8d8f86aebb0b3fcb06ba36d5 (patch)
tree57fb61a4062793df3c85c405b57fd16448969279 /fs/orangefs/upcall.h
parentorangefs: don't d_drop in d_revalidate since the caller will (diff)
downloadkernel-qcow2-linux-47b4948fdb1055cd8d8f86aebb0b3fcb06ba36d5.tar.gz
kernel-qcow2-linux-47b4948fdb1055cd8d8f86aebb0b3fcb06ba36d5.tar.xz
kernel-qcow2-linux-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.h16
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 {