]> 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)
commitdded492e9cd8322c819dee2e9ec9cb5341e48a90
tree49bd85d64ec01f6cae762f45c97ccca13f3a55fd
parentb232f03c3f4c647a9b34da7b1cc23492d9f963c9
NFSv4: fix getacl head length estimation

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

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

Fixes: 995614f2fb94 "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