Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9742df33 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 261964c6
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -1406,9 +1406,6 @@ static int ntfs_read_locked_attr_inode(struct inode *base_vi, struct inode *vi)
		ni->allocated_size = sle64_to_cpu(
		ni->allocated_size = sle64_to_cpu(
				a->data.non_resident.allocated_size);
				a->data.non_resident.allocated_size);
	}
	}
	/* Setup the operations for this attribute inode. */
	vi->i_op = NULL;
	vi->i_fop = NULL;
	if (NInoMstProtected(ni))
	if (NInoMstProtected(ni))
		vi->i_mapping->a_ops = &ntfs_mst_aops;
		vi->i_mapping->a_ops = &ntfs_mst_aops;
	else
	else