diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2015-07-30 16:55:02 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-08-31 23:16:39 +0300 |
commit | ead8fb8c24411722b92198b3dccd102a76cdd050 (patch) | |
tree | 5f741c274eac984860fff4fe32955d86eb7b2cb3 /fs/nfsd/vfs.c | |
parent | 7d580722c9f353d19e255f929d341caa821060d6 (diff) | |
download | linux-ead8fb8c24411722b92198b3dccd102a76cdd050.tar.xz |
NFSD: Set the attributes used to store the verifier for EXCLUSIVE4_1
According to rfc5661 18.16.4,
"If EXCLUSIVE4_1 was used, the client determines the attributes
used for the verifier by comparing attrset with cva_attrs.attrmask;"
So, EXCLUSIVE4_1 also needs those bitmask used to store the verifier.
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/vfs.c')
-rw-r--r-- | fs/nfsd/vfs.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index b5e077a6e7d4..45c04979e7b3 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c @@ -1249,12 +1249,6 @@ out_nfserr: #ifdef CONFIG_NFSD_V3 -static inline int nfsd_create_is_exclusive(int createmode) -{ - return createmode == NFS3_CREATE_EXCLUSIVE - || createmode == NFS4_CREATE_EXCLUSIVE4_1; -} - /* * NFSv3 and NFSv4 version of nfsd_create */ |