diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 03:30:54 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:10 -0500 |
commit | 175a4eb7ea531cdbf6d574f5d5ba9aa0f5e8ed13 (patch) | |
tree | 841812b19b8a5546e472be321b32ca58528b76c3 /fs/nfsd/vfs.c | |
parent | 030a8ba48fa6fa2a1304bab5b0f49360613c4af2 (diff) |
fs: propagate umode_t, misc bits
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfsd/vfs.c')
-rw-r--r-- | fs/nfsd/vfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index 29b1202313e9..d25a723b68ad 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c | |||
@@ -307,7 +307,7 @@ nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap, | |||
307 | struct dentry *dentry; | 307 | struct dentry *dentry; |
308 | struct inode *inode; | 308 | struct inode *inode; |
309 | int accmode = NFSD_MAY_SATTR; | 309 | int accmode = NFSD_MAY_SATTR; |
310 | int ftype = 0; | 310 | umode_t ftype = 0; |
311 | __be32 err; | 311 | __be32 err; |
312 | int host_err; | 312 | int host_err; |
313 | int size_change = 0; | 313 | int size_change = 0; |
@@ -730,7 +730,7 @@ static int nfsd_open_break_lease(struct inode *inode, int access) | |||
730 | * N.B. After this call fhp needs an fh_put | 730 | * N.B. After this call fhp needs an fh_put |
731 | */ | 731 | */ |
732 | __be32 | 732 | __be32 |
733 | nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, int type, | 733 | nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type, |
734 | int access, struct file **filp) | 734 | int access, struct file **filp) |
735 | { | 735 | { |
736 | struct dentry *dentry; | 736 | struct dentry *dentry; |