Commit d9116d2
ext4: don't explicit update times in ext4_fallocate()
[ Upstream commit 73ae756ecdfa9684446134590eef32b0f067249c ]
After commit 'ad5cd4f4ee4d ("ext4: fix fallocate to use file_modified to
update permissions consistently"), we can update mtime and ctime
appropriately through file_modified() when doing zero range, collapse
rage, insert range and punch hole, hence there is no need to explicit
update times in those paths, just drop them.
Signed-off-by: Zhang Yi <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Ojaswin Mujoo <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Stable-dep-of: 29ec9bed2395 ("ext4: fix incorrect punch max_end")
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent a5ae7fa commit d9116d2
2 files changed
+0
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4675 | 4675 | | |
4676 | 4676 | | |
4677 | 4677 | | |
4678 | | - | |
4679 | | - | |
4680 | 4678 | | |
4681 | 4679 | | |
4682 | 4680 | | |
| |||
4700 | 4698 | | |
4701 | 4699 | | |
4702 | 4700 | | |
4703 | | - | |
4704 | 4701 | | |
4705 | 4702 | | |
4706 | 4703 | | |
| |||
5431 | 5428 | | |
5432 | 5429 | | |
5433 | 5430 | | |
5434 | | - | |
5435 | 5431 | | |
5436 | 5432 | | |
5437 | 5433 | | |
| |||
5541 | 5537 | | |
5542 | 5538 | | |
5543 | 5539 | | |
5544 | | - | |
5545 | 5540 | | |
5546 | 5541 | | |
5547 | 5542 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4113 | 4113 | | |
4114 | 4114 | | |
4115 | 4115 | | |
4116 | | - | |
4117 | 4116 | | |
4118 | 4117 | | |
4119 | 4118 | | |
| |||
0 commit comments