]> www.infradead.org Git - users/hch/misc.git/commit
ext4: correct the error handle in ext4_fallocate()
authorZhang Yi <yi.zhang@huawei.com>
Wed, 19 Mar 2025 02:35:57 +0000 (10:35 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 21 Mar 2025 05:33:11 +0000 (01:33 -0400)
commit129245cfbd6d79c6d603f357f428010ccc0f0ee7
treeedfa1406e74b278bca06bbe04420dc63ddf97ce4
parent896b02d0b9e7deb4a4eb365e13dd912b49916519
ext4: correct the error handle in ext4_fallocate()

The error out label of file_modified() should be out_inode_lock in
ext4_fallocate().

Fixes: 2890e5e0f49e ("ext4: move out common parts into ext4_fallocate()")
Reported-by: Baokun Li <libaokun1@huawei.com>
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Baokun Li <libaokun1@huawei.com>
Link: https://patch.msgid.link/20250319023557.2785018-1-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents.c