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>
This commit is contained in:
parent
261964c60f
commit
9742df331d
|
@ -1406,9 +1406,6 @@ static int ntfs_read_locked_attr_inode(struct inode *base_vi, struct inode *vi)
|
|||
ni->allocated_size = sle64_to_cpu(
|
||||
a->data.non_resident.allocated_size);
|
||||
}
|
||||
/* Setup the operations for this attribute inode. */
|
||||
vi->i_op = NULL;
|
||||
vi->i_fop = NULL;
|
||||
if (NInoMstProtected(ni))
|
||||
vi->i_mapping->a_ops = &ntfs_mst_aops;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue