fuse: fix revalidation of attributes for permission check
authorMiklos Szeredi <mszeredi@redhat.com>
Mon, 3 Dec 2018 09:14:43 +0000 (10:14 +0100)
committerMiklos Szeredi <mszeredi@redhat.com>
Mon, 3 Dec 2018 09:14:43 +0000 (10:14 +0100)
commitd233c7dd1682437ba4b430b04766aa6eef9aef67
tree72a1116cb4e9fb331a9bf35fe0f5ee3858c98579
parenta9c2d1e82fc2937baf43c0d400f0c9e87dcf035d
fuse: fix revalidation of attributes for permission check

fuse_invalidate_attr() now sets fi->inval_mask instead of fi->i_time, hence
we need to check the inval mask in fuse_permission() as well.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Fixes: 2f1e81965fd0 ("fuse: allow fine grained attr cache invaldation")
fs/fuse/dir.c