From: Jan Kara Date: Fri, 24 Mar 2023 10:37:44 +0000 (+0100) Subject: udf: Drop pointless aops assignment X-Git-Tag: v6.6.7~2056^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ae6ca2cc1ca508548446fe1325f4690145df153;p=platform%2Fkernel%2Flinux-starfive.git 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 --- diff --git a/fs/udf/inode.c b/fs/udf/inode.c index 28cdfc5..165fc00 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;