Skip to content

Commit fa300b1

Browse files
dhowellsLinus Torvalds
authored andcommitted
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 <[email protected]> Cc: Miklos Szeredi <[email protected]> Acked-by: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent d0b0794 commit fa300b1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

fs/fuse/inode.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ static void fuse_destroy_inode(struct inode *inode)
7676
kmem_cache_free(fuse_inode_cachep, inode);
7777
}
7878

79-
static void fuse_read_inode(struct inode *inode)
80-
{
81-
/* No op */
82-
}
83-
8479
void fuse_send_forget(struct fuse_conn *fc, struct fuse_req *req,
8580
unsigned long nodeid, u64 nlookup)
8681
{
@@ -515,7 +510,6 @@ static struct inode *get_root_inode(struct super_block *sb, unsigned mode)
515510
static const struct super_operations fuse_super_operations = {
516511
.alloc_inode = fuse_alloc_inode,
517512
.destroy_inode = fuse_destroy_inode,
518-
.read_inode = fuse_read_inode,
519513
.clear_inode = fuse_clear_inode,
520514
.drop_inode = generic_delete_inode,
521515
.remount_fs = fuse_remount_fs,

0 commit comments

Comments
 (0)