From: Al Viro Date: Sat, 1 Feb 2014 09:41:36 +0000 (-0500) Subject: ntfs: don't put NULL into ->i_op/->i_fop X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=05faf3169f039cb03ebabdfee6eda0e7ada5ea11;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ntfs: don't put NULL into ->i_op/->i_fop Signed-off-by: Al Viro --- 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; /*