summaryrefslogtreecommitdiffstats
path: root/fs/ntfs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-02-01 04:41:36 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2014-04-01 23:19:16 -0400
commit05faf3169f039cb03ebabdfee6eda0e7ada5ea11 (patch)
tree544f4e0414cbcc16931551b74d070f8850dc8810 /fs/ntfs
parent5d826c847b34de6415b4f1becd88a57ff619af50 (diff)
downloadlinux-05faf3169f039cb03ebabdfee6eda0e7ada5ea11.tar.gz
linux-05faf3169f039cb03ebabdfee6eda0e7ada5ea11.tar.bz2
linux-05faf3169f039cb03ebabdfee6eda0e7ada5ea11.zip
ntfs: don't put NULL into ->i_op/->i_fop
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ntfs')
-rw-r--r--fs/ntfs/inode.c2
1 files changed, 0 insertions, 2 deletions
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;
/*