NFSD: Set the attributes used to store the verifier for EXCLUSIVE4_1
authorKinglong Mee <kinglongmee@gmail.com>
Thu, 30 Jul 2015 13:55:02 +0000 (21:55 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 31 Aug 2015 20:16:39 +0000 (16:16 -0400)
commitead8fb8c24411722b92198b3dccd102a76cdd050
tree5f741c274eac984860fff4fe32955d86eb7b2cb3
parent7d580722c9f353d19e255f929d341caa821060d6
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>
fs/nfsd/nfs4proc.c
fs/nfsd/vfs.c
fs/nfsd/vfs.h