aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2007-10-17 02:31:02 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 11:43:04 -0400
commit244f6385c2891e366a7de5f6746ccc257efd8952 (patch)
tree09d51e0f55d9e88dad48941cc0a63e0253306e47 /fs/fuse/fuse_i.h
parent074406fa6309ab8b0aca15496b16b3653e58c03d (diff)
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.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 60683b787250..e0555d68b4a7 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);
533void fuse_abort_conn(struct fuse_conn *fc); 533void fuse_abort_conn(struct fuse_conn *fc);
534 534
535/** 535/**
536 * Get the attributes of a file
537 */
538int fuse_do_getattr(struct inode *inode);
539
540/**
541 * Invalidate inode attributes 536 * Invalidate inode attributes
542 */ 537 */
543void fuse_invalidate_attr(struct inode *inode); 538void fuse_invalidate_attr(struct inode *inode);