mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 22:54:01 +00:00
ntfs: don't put NULL into ->i_op/->i_fop
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
5d826c847b
commit
05faf3169f
1 changed files with 0 additions and 2 deletions
|
@ -1704,8 +1704,6 @@ static int ntfs_read_locked_index_inode(struct inode *base_vi, struct inode *vi)
|
||||||
iput(bvi);
|
iput(bvi);
|
||||||
skip_large_index_stuff:
|
skip_large_index_stuff:
|
||||||
/* Setup the operations for this index inode. */
|
/* 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_mapping->a_ops = &ntfs_mst_aops;
|
||||||
vi->i_blocks = ni->allocated_size >> 9;
|
vi->i_blocks = ni->allocated_size >> 9;
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue