ntfs: don't put NULL into ->i_op/->i_fop
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 1 Feb 2014 09:41:36 +0000 (04:41 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 2 Apr 2014 03:19:16 +0000 (23:19 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ntfs/inode.c

index ffb9b3675736334182e29b2b6e337f29efd8c5a7..4de660fe739c217df511f33088f6e848b756da57 100644 (file)
@@ -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;
        /*