Commit 116c0bd
ext4: remove ctime/mtime update from ext4_alloc_file_blocks()
The ctime and mtime update is already handled by file_modified() in
ext4_fallocate(), the caller of ext4_alloc_file_blocks(). So remove the
redundant calls to inode_set_ctime_current() and inode_set_mtime_to_ts()
in ext4_alloc_file_blocks().
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20260327102939.1095257-12-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>1 parent c3688d2 commit 116c0bd
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4652 | 4652 | | |
4653 | 4653 | | |
4654 | 4654 | | |
4655 | | - | |
4656 | 4655 | | |
4657 | 4656 | | |
4658 | 4657 | | |
4659 | | - | |
4660 | | - | |
4661 | | - | |
| 4658 | + | |
4662 | 4659 | | |
4663 | 4660 | | |
4664 | 4661 | | |
| |||
0 commit comments