summaryrefslogtreecommitdiff
path: root/fs/udf
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2023-03-24 11:37:44 +0100
committerJan Kara <jack@suse.cz>2023-08-09 18:55:16 +0200
commit5ae6ca2cc1ca508548446fe1325f4690145df153 (patch)
tree57bc81a51fc2bfce2cf6e56fb01a74c8bab0cccf /fs/udf
parent7a64774add85ce673a089810fae193b02003be24 (diff)
udf: Drop pointless aops assignment
Since we have merged normal and in-ICB address_space operations, there's no need to assign aops when expanding from in-ICB format. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf')
-rw-r--r--fs/udf/inode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/udf/inode.c b/fs/udf/inode.c
index 28cdfc57d946..165fc003afbb 100644
--- a/fs/udf/inode.c
+++ b/fs/udf/inode.c
@@ -352,8 +352,6 @@ int udf_expand_file_adinicb(struct inode *inode)
iinfo->i_alloc_type = ICBTAG_FLAG_AD_SHORT;
else
iinfo->i_alloc_type = ICBTAG_FLAG_AD_LONG;
- /* from now on we have normal address_space methods */
- inode->i_data.a_ops = &udf_aops;
up_write(&iinfo->i_data_sem);
mark_inode_dirty(inode);
return 0;