diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2020-05-19 15:50:38 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-05-19 15:50:38 +0300 |
commit | 5ddd9ced9aef6cfa76af27d384c17c9e2d610ce8 (patch) | |
tree | 827d10adb9e7f066d37fd33438496da8aa08441d /fs/fuse/fuse_i.h | |
parent | 32f98877c57bee6bc27f443a96f49678a2cd6a50 (diff) | |
download | linux-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