]> git.itanic.dy.fi Git - linux-stable/commitdiff
udf: Drop pointless aops assignment
authorJan Kara <jack@suse.cz>
Fri, 24 Mar 2023 10:37:44 +0000 (11:37 +0100)
committerJan Kara <jack@suse.cz>
Wed, 9 Aug 2023 16:55:16 +0000 (18:55 +0200)
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>
fs/udf/inode.c

index 28cdfc57d946e339cc4fd6f2f81fa8fd9af41a5a..165fc003afbbc9ac7954dc6d5b16a7c8ce3f5a40 100644 (file)
@@ -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;