commit | 5ddd9ced9aef6cfa76af27d384c17c9e2d610ce8 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@redhat.com> | Tue May 19 14:50:38 2020 +0200 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Tue May 19 14:50:38 2020 +0200 |
tree | 827d10adb9e7f066d37fd33438496da8aa08441d | |
parent | 32f98877c57bee6bc27f443a96f49678a2cd6a50 [diff] |
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>