Skip to content

Commit 5ae6ca2

Browse files
committed
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>
1 parent 7a64774 commit 5ae6ca2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/udf/inode.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,6 @@ int udf_expand_file_adinicb(struct inode *inode)
352352
iinfo->i_alloc_type = ICBTAG_FLAG_AD_SHORT;
353353
else
354354
iinfo->i_alloc_type = ICBTAG_FLAG_AD_LONG;
355-
/* from now on we have normal address_space methods */
356-
inode->i_data.a_ops = &udf_aops;
357355
up_write(&iinfo->i_data_sem);
358356
mark_inode_dirty(inode);
359357
return 0;

0 commit comments

Comments
 (0)