summaryrefslogtreecommitdiffstats
path: root/fs/vboxsf
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2021-02-10 08:59:52 +0000
committerAl Viro <viro@zeniv.linux.org.uk>2021-03-08 10:19:37 -0500
commit6e1eb04a87f954eb06a89ee6034c166351dfff6e (patch)
treee4d12ecb8bff0dd09470d03a9cb692b32c1305ae /fs/vboxsf
parented94f87c2b123241ae5644cf82327e2da653adb6 (diff)
downloadlinux-6e1eb04a87f954eb06a89ee6034c166351dfff6e.tar.gz
linux-6e1eb04a87f954eb06a89ee6034c166351dfff6e.tar.bz2
linux-6e1eb04a87f954eb06a89ee6034c166351dfff6e.zip
afs: Fix updating of i_mode due to 3rd party change
Fix afs_apply_status() to mask off the irrelevant bits from status->mode when OR'ing them into i_mode. This can happen when a 3rd party chmod occurs. Also fix afs_inode_init_from_status() to mask off the mode bits when initialising i_mode. Fixes: 260a980317da ("[AFS]: Add "directory write" support.") Reported-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/vboxsf')
0 files changed, 0 insertions, 0 deletions