]> www.infradead.org Git - users/jedix/linux-maple.git/commit
udf: Drop pointless IS_IMMUTABLE and IS_APPEND check
authorJan Kara <jack@suse.cz>
Mon, 20 May 2024 13:18:44 +0000 (15:18 +0200)
committerJan Kara <jack@suse.cz>
Wed, 5 Jun 2024 08:36:46 +0000 (10:36 +0200)
commitc1f1b25a6089eb93a11a147e8de766c0d6ad29ac
treef49f1a819bc915fce2ddfa4e8e1a390f7e18effe
parent03fceb8dbd09923f271271a438da049f75eb9c10
udf: Drop pointless IS_IMMUTABLE and IS_APPEND check

udf_setsize() checks for IS_IMMUTABLE and IS_APPEND flags. This is
however pointless as UDF does not have capability to store these flags
and never allows to set them. Furthermore this is the only place in UDF
code that was actually checking these flags. Remove the pointless check.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/inode.c