aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4xdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfs4xdr.c')
-rw-r--r--fs/nfsd/nfs4xdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index 66d095d7955e..b6fa792d6b85 100644
--- a/fs/nfsd/nfs4xdr.c
+++ b/fs/nfsd/nfs4xdr.c
@@ -655,7 +655,7 @@ static __be32 nfsd4_decode_share_access(struct nfsd4_compoundargs *argp, u32 *x)
655 default: 655 default:
656 return nfserr_bad_xdr; 656 return nfserr_bad_xdr;
657 } 657 }
658 w &= !NFS4_SHARE_ACCESS_MASK; 658 w &= ~NFS4_SHARE_ACCESS_MASK;
659 if (!w) 659 if (!w)
660 return nfs_ok; 660 return nfs_ok;
661 if (!argp->minorversion) 661 if (!argp->minorversion)