diff options
| author | 2026-10-09 18:30:02 +0800 | |
|---|---|---|
| committer | 2026-10-15 10:53:11 -0400 | |
| commit | e9941268bacab2cf13cf40d115eb0d058c897cef (patch) | |
| tree | 276f7f55eb02f89e0f6c5f79b74401c8bcfbc6b6 /scripts/Makefile.thinlto | |
| parent | jbd2: avoid false sharing with j_state_lock (diff) | |
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
