aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-07-06 18:58:37 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2017-08-31 17:32:38 -0400
commitddef7ed2b5cbafae692d1d580bb5a07808926a9c (patch)
treeb9cc72697712852cb7ef2c27bb1de6d126c2d61f /fs/nfsd
parentteach SYSCALL_DEFINE/COMPAT_SYSCALL_DEFINE to handle __bitwise arguments (diff)
downloadlinux-dev-ddef7ed2b5cbafae692d1d580bb5a07808926a9c.tar.xz
linux-dev-ddef7ed2b5cbafae692d1d580bb5a07808926a9c.zip
annotate RWF_... flags
[AV: added missing annotations in syscalls.h/compat.h] Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/vfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c
index 38d0383dc7f9..bc69d40c4e8b 100644
--- a/fs/nfsd/vfs.c
+++ b/fs/nfsd/vfs.c
@@ -969,7 +969,7 @@ nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct file *file,
int use_wgather;
loff_t pos = offset;
unsigned int pflags = current->flags;
- int flags = 0;
+ rwf_t flags = 0;
if (test_bit(RQ_LOCAL, &rqstp->rq_flags))
/*