]> git.ipfire.org Git - thirdparty/linux.git/commit
ext4: cleanup useless out label in __es_remove_extent()
authorZhang Yi <yi.zhang@huawei.com>
Sat, 29 Nov 2025 10:32:41 +0000 (18:32 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 18 Jan 2026 16:23:33 +0000 (11:23 -0500)
commitef46e0d70014cad87dc18e7d292e7c75c0ef30c8
tree1789818f8b0142ff45e2129f20dc882d7bf1570d
parentc0329d0288dee6be26e5eca71fdc520c1c5e6acf
ext4: cleanup useless out label in __es_remove_extent()

The out label in __es_remove_extent() is just return err value, we can
return it directly if something bad happens. Therefore, remove the
useless out label and rename out_get_reserved to out.

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Reviewed-by: Baokun Li <libaokun1@huawei.com>
Message-ID: <20251129103247.686136-10-yi.zhang@huaweicloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents_status.c