]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: fix getacl head length estimation
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 23 Feb 2017 19:53:39 +0000 (14:53 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 23 Feb 2017 22:23:32 +0000 (17:23 -0500)
commit6ec97d556725bc2030f3b637742d366957a7401f
tree49bd85d64ec01f6cae762f45c97ccca13f3a55fd
parent3e0c9de57c743eca0da64d57829fee3ad75fa3db
NFSv4: fix getacl head length estimation

Bitmap and attrlen follow immediately after the op reply header.  This
was an oversight from commit a2fac2a04f.

Consequences of this are just minor efficiency (extra calls to
xdr_shrink_bufhead).

Fixes: a2fac2a04fd6 "NFSv4: include bitmap in nfsv4 get acl data"
Reviewed-by: Kinglong Mee <kinglongmee@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4xdr.c