diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2007-10-16 23:31:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 08:43:04 -0700 |
commit | 244f6385c2891e366a7de5f6746ccc257efd8952 (patch) | |
tree | 09d51e0f55d9e88dad48941cc0a63e0253306e47 /fs/fuse/fuse_i.h | |
parent | 074406fa6309ab8b0aca15496b16b3653e58c03d (diff) | |
download | op-kernel-dev-244f6385c2891e366a7de5f6746ccc257efd8952.zip op-kernel-dev-244f6385c2891e366a7de5f6746ccc257efd8952.tar.gz |
fuse: refresh stale attributes in fuse_permission()
fuse_permission() didn't refresh inode attributes before using them, even if
the validity has already expired.
Thanks to Junjiro Okajima for spotting this.
Also remove some old code to unconditionally refresh the attributes on the
root inode.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r-- | fs/fuse/fuse_i.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index 60683b7..e0555d6 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h @@ -533,11 +533,6 @@ void request_send_background(struct fuse_conn *fc, struct fuse_req *req); void fuse_abort_conn(struct fuse_conn *fc); /** - * Get the attributes of a file - */ -int fuse_do_getattr(struct inode *inode); - -/** * Invalidate inode attributes */ void fuse_invalidate_attr(struct inode *inode); |