Skip to content
Commit 5ddd9ced authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

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: default avatarKrzysztof Rusek <rusek@9livesdata.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 32f98877
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment