diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 04:52:22 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:16 -0500 |
commit | 5706b27deae29ceee26d0c20112f087a9b841575 (patch) | |
tree | 8cd83edcaa711709e5671bd35376f3a9f67484f3 /fs | |
parent | 138d570de290ee7dbb18ef75d4f5735340352c56 (diff) |
ceph: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ceph/caps.c | 4 | ||||
-rw-r--r-- | fs/ceph/super.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index 8b53193e4f7c..b60fc8bfb3e9 100644 --- a/fs/ceph/caps.c +++ b/fs/ceph/caps.c | |||
@@ -928,7 +928,7 @@ static int send_cap_msg(struct ceph_mds_session *session, | |||
928 | u64 size, u64 max_size, | 928 | u64 size, u64 max_size, |
929 | struct timespec *mtime, struct timespec *atime, | 929 | struct timespec *mtime, struct timespec *atime, |
930 | u64 time_warp_seq, | 930 | u64 time_warp_seq, |
931 | uid_t uid, gid_t gid, mode_t mode, | 931 | uid_t uid, gid_t gid, umode_t mode, |
932 | u64 xattr_version, | 932 | u64 xattr_version, |
933 | struct ceph_buffer *xattrs_buf, | 933 | struct ceph_buffer *xattrs_buf, |
934 | u64 follows) | 934 | u64 follows) |
@@ -1078,7 +1078,7 @@ static int __send_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap, | |||
1078 | u64 size, max_size; | 1078 | u64 size, max_size; |
1079 | struct timespec mtime, atime; | 1079 | struct timespec mtime, atime; |
1080 | int wake = 0; | 1080 | int wake = 0; |
1081 | mode_t mode; | 1081 | umode_t mode; |
1082 | uid_t uid; | 1082 | uid_t uid; |
1083 | gid_t gid; | 1083 | gid_t gid; |
1084 | struct ceph_mds_session *session; | 1084 | struct ceph_mds_session *session; |
diff --git a/fs/ceph/super.h b/fs/ceph/super.h index edcbf3774a56..cb3652b37271 100644 --- a/fs/ceph/super.h +++ b/fs/ceph/super.h | |||
@@ -136,7 +136,7 @@ struct ceph_cap_snap { | |||
136 | int issued, dirty; | 136 | int issued, dirty; |
137 | struct ceph_snap_context *context; | 137 | struct ceph_snap_context *context; |
138 | 138 | ||
139 | mode_t mode; | 139 | umode_t mode; |
140 | uid_t uid; | 140 | uid_t uid; |
141 | gid_t gid; | 141 | gid_t gid; |
142 | 142 | ||