]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Fix a readdir regression
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 16 Jun 2011 17:15:41 +0000 (13:15 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 16 Jun 2011 17:24:47 +0000 (13:24 -0400)
commit073617f882022767052f6f7216420d40a28c18b5
tree929f8cb07d4e974f5cfa8952a8d6643edfb5a2f5
parent858919cfad0394d42168f7256636e3f87034d1f8
NFSv4: Fix a readdir regression

Commit adf84a29 (NFS: use secinfo when crossing mountpoints) introduces
a regression when decoding an NFSv4 readdir entry that sets the
rdattr_error field.
By treating the resulting value as if it is a decoding error, the current
code may cause us to skip valid readdir entries.

Reported-by: Andy Adamson <andros@netapp.com>
Cc: stable@kernel.org [2.6.39]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4xdr.c