summaryrefslogtreecommitdiff
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2020-05-19 15:50:38 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2020-05-19 15:50:38 +0300
commit5ddd9ced9aef6cfa76af27d384c17c9e2d610ce8 (patch)
tree827d10adb9e7f066d37fd33438496da8aa08441d /fs/fuse/fuse_i.h
parent32f98877c57bee6bc27f443a96f49678a2cd6a50 (diff)
downloadlinux-5ddd9ced9aef6cfa76af27d384c17c9e2d610ce8.tar.xz
fuse: update attr_version counter on fuse_notify_inval_inode()
A GETATTR request can race with FUSE_NOTIFY_INVAL_INODE, resulting in the attribute cache being updated with stale information after the invalidation. Fix this by bumping the attribute version in fuse_reverse_inval_inode(). Reported-by: Krzysztof Rusek <rusek@9livesdata.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/fuse_i.h')
0 files changed, 0 insertions, 0 deletions