diff options
| author | Zhang Yi <yi.zhang@huawei.com> | 2026-10-09 18:30:02 +0800 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2026-10-15 10:53:11 -0400 |
| commit | e9941268bacab2cf13cf40d115eb0d058c897cef (patch) | |
| tree | 276f7f55eb02f89e0f6c5f79b74401c8bcfbc6b6 /scripts/Makefile.thinlto | |
| parent | b5501f970dbc039df1f7c720b7a481b62de125cd (diff) | |
| download | linux-e9941268bacab2cf13cf40d115eb0d058c897cef.tar.gz linux-e9941268bacab2cf13cf40d115eb0d058c897cef.zip | |
ext4: simplify size updating in ext4_setattr()
The logic for updating the file size in ext4_setattr() is currently
somewhat messy. By directly entering the error-handling path after
failing to add an orphan inode, the unnecessary recovery process
involving old_disksize and the file size can be avoided.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Tested-by: syzbot@syzkaller.appspotmail.com
Link: https://patch.msgid.link/20261009103033.2920530-2-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
