summaryrefslogtreecommitdiffstats
path: root/fs/ntfs/inode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-02-01 10:41:36 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2014-04-02 05:19:16 +0200
commit05faf3169f039cb03ebabdfee6eda0e7ada5ea11 (patch)
tree544f4e0414cbcc16931551b74d070f8850dc8810 /fs/ntfs/inode.c
parentnew helper: readlink_copy() (diff)
downloadlinux-05faf3169f039cb03ebabdfee6eda0e7ada5ea11.tar.xz
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 '')
-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;
/*