summaryrefslogtreecommitdiffstats
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
parent5d826c847b34de6415b4f1becd88a57ff619af50 (diff)
downloadop-kernel-dev-05faf3169f039cb03ebabdfee6eda0e7ada5ea11.zip
op-kernel-dev-05faf3169f039cb03ebabdfee6eda0e7ada5ea11.tar.gz
ntfs: don't put NULL into ->i_op/->i_fop
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-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 ffb9b36..4de660f 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;
/*
OpenPOWER on IntegriCloud