]> Pileus Git - ~andy/linux/commit
NFSv4: Fix a regression against the FreeBSD server
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 17 Jul 2013 20:43:16 +0000 (16:43 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 17 Jul 2013 20:54:46 +0000 (16:54 -0400)
commitb4a2cf76ab7c08628c62b2062dacefa496b59dfd
tree82bf8b6f4e48f7c2533beef0587ea0395d14f79f
parent1540c5d3cbf7670eb68a0d02611ec73e5604a91a
NFSv4: Fix a regression against the FreeBSD server

Technically, the Linux client is allowed by the NFSv4 spec to send
3 word bitmaps as part of an OPEN request. However, this causes the
current FreeBSD server to return NFS4ERR_ATTRNOTSUPP errors.

Fix the regression by making the Linux client use a 2 word bitmap unless
doing NFSv4.2 with labeled NFS.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4xdr.c