diff options
author | David Howells <dhowells@redhat.com> | 2008-02-07 03:15:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 11:42:28 -0500 |
commit | fa300b1914f892196acb385677047bc978466de7 (patch) | |
tree | 58729e181e2a7aca020d3079eadbf1b718e40c1f /fs/fuse/inode.c | |
parent | d0b079483dd4cf6373f0ff234d5fdaef80c9588f (diff) |
iget: stop FUSE from using iget() and read_inode()
Stop the FUSE filesystem from using read_inode(), which it doesn't use anyway.
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fuse/inode.c')
-rw-r--r-- | fs/fuse/inode.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index c90f633d0b57..574707409bbf 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c | |||
@@ -76,11 +76,6 @@ static void fuse_destroy_inode(struct inode *inode) | |||
76 | kmem_cache_free(fuse_inode_cachep, inode); | 76 | kmem_cache_free(fuse_inode_cachep, inode); |
77 | } | 77 | } |
78 | 78 | ||
79 | static void fuse_read_inode(struct inode *inode) | ||
80 | { | ||
81 | /* No op */ | ||
82 | } | ||
83 | |||
84 | void fuse_send_forget(struct fuse_conn *fc, struct fuse_req *req, | 79 | void fuse_send_forget(struct fuse_conn *fc, struct fuse_req *req, |
85 | unsigned long nodeid, u64 nlookup) | 80 | unsigned long nodeid, u64 nlookup) |
86 | { | 81 | { |
@@ -515,7 +510,6 @@ static struct inode *get_root_inode(struct super_block *sb, unsigned mode) | |||
515 | static const struct super_operations fuse_super_operations = { | 510 | static const struct super_operations fuse_super_operations = { |
516 | .alloc_inode = fuse_alloc_inode, | 511 | .alloc_inode = fuse_alloc_inode, |
517 | .destroy_inode = fuse_destroy_inode, | 512 | .destroy_inode = fuse_destroy_inode, |
518 | .read_inode = fuse_read_inode, | ||
519 | .clear_inode = fuse_clear_inode, | 513 | .clear_inode = fuse_clear_inode, |
520 | .drop_inode = generic_delete_inode, | 514 | .drop_inode = generic_delete_inode, |
521 | .remount_fs = fuse_remount_fs, | 515 | .remount_fs = fuse_remount_fs, |