From 05faf3169f039cb03ebabdfee6eda0e7ada5ea11 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 1 Feb 2014 04:41:36 -0500 Subject: ntfs: don't put NULL into ->i_op/->i_fop Signed-off-by: Al Viro --- fs/ntfs/inode.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'fs/ntfs') diff --git a/fs/ntfs/inode.c b/fs/ntfs/inode.c index ffb9b3675736..4de660fe739c 100644 --- a/fs/ntfs/inode.c +++ b/fs/ntfs/inode.c @@ -1704,8 +1704,6 @@ static int ntfs_read_locked_index_inode(struct inode *base_vi, struct inode *vi) iput(bvi); skip_large_index_stuff: /* Setup the operations for this index inode. */ - vi->i_op = NULL; - vi->i_fop = NULL; vi->i_mapping->a_ops = &ntfs_mst_aops; vi->i_blocks = ni->allocated_size >> 9; /* -- cgit v1.2.3-58-ga151