]> git.baikalelectronics.ru Git - kernel.git/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)
commit4ef2309734b0a3fc580ccbc48ef8f0a3c5abffca
tree82bf8b6f4e48f7c2533beef0587ea0395d14f79f
parent9c9e1ce2f4675bc58c5a7ff642bdf670c69871eb
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