Skip to content

Commit 9742df3

Browse files
author
Al Viro
committed
ntfs: don't NULL i_op
it's already set to empty table (and no, ntfs doesn't have any explicit checks for NULL ->i_op or NULL ->i_fop) Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 261964c commit 9742df3

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎fs/ntfs/inode.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,9 +1406,6 @@ static int ntfs_read_locked_attr_inode(struct inode *base_vi, struct inode *vi)
14061406
ni->allocated_size = sle64_to_cpu(
14071407
a->data.non_resident.allocated_size);
14081408
}
1409-
/* Setup the operations for this attribute inode. */
1410-
vi->i_op = NULL;
1411-
vi->i_fop = NULL;
14121409
if (NInoMstProtected(ni))
14131410
vi->i_mapping->a_ops = &ntfs_mst_aops;
14141411
else

0 commit comments

Comments
 (0)