]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerBrian Maly <brian.maly@oracle.com>
Tue, 22 Jan 2019 19:05:31 +0000 (14:05 -0500)
commita364784af91041b23211a38d0b9488f1680659fa
tree1a9a01174a4654927de564106e26a5a9540cfccb
parent556c8219a2f4617d9cb2cc02d5556c52a6e0c9d1
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>
Orabug: 29204157

(cherry picked from commit ead8fb8c24411722b92198b3dccd102a76cdd050)
Signed-off-by: Calum Mackay <calum.mackay@oracle.com>
Reviewed-by: Bill Baker <Bill.Baker@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
fs/nfsd/nfs4proc.c
fs/nfsd/vfs.c
fs/nfsd/vfs.h