summaryrefslogtreecommitdiffstats
path: root/fs/afs/xattr.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2020-11-03 17:32:58 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2020-11-03 18:53:40 +0100
commitc80afa1d9c3603d5eddeb8d63368823b1982f3f0 (patch)
tree8be2ab8d7008001f79e6ef0dd23baa075044fc4a /fs/afs/xattr.c
parenttty: make FONTX ioctl use the tty pointer they were actually passed (diff)
downloadlinux-c80afa1d9c3603d5eddeb8d63368823b1982f3f0.tar.xz
linux-c80afa1d9c3603d5eddeb8d63368823b1982f3f0.zip
afs: Fix warning due to unadvanced marshalling pointer
When using the afs.yfs.acl xattr to change an AuriStor ACL, a warning can be generated when the request is marshalled because the buffer pointer isn't increased after adding the last element, thereby triggering the check at the end if the ACL wasn't empty. This just causes something like the following warning, but doesn't stop the call from happening successfully: kAFS: YFS.StoreOpaqueACL2: Request buffer underflow (36<108) Fix this simply by increasing the count prior to the check. Fixes: f5e4546347bc ("afs: Implement YFS ACL setting") Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions