]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: Work around a Linux server bug...
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 9 May 2017 19:47:15 +0000 (15:47 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 9 May 2017 19:52:15 +0000 (15:52 -0400)
commitde06d8e552b95a120c233855b213a5ed84e8fffe
tree88f2667df7691ca6298f74b1976182b48053b105
parentdae71fd3d5bd92701c8395fc7bcf7e48a2f1395b
NFSv4.1: Work around a Linux server bug...

It turns out the Linux server has a bug in its implementation of
supattr_exclcreat; it returns the set of all attributes, whether
or not they are supported by minor version 1.
In order to avoid a regression, we therefore apply the supported_attrs
as a mask on top of whatever the server sent us.

Reported-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c