Commit 394e7f4
f2fs: don't set FI_PREALLOCATED_ALL for partial write
In f2fs_preallocate_blocks(), if it is partial write in 4KB, it's not
necessary to call f2fs_map_blocks() and set FI_PREALLOCATED_ALL flag.
Cc: Eric Biggers <ebiggers@google.com>
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>1 parent bb34cc6 commit 394e7f4
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4567 | 4567 | | |
4568 | 4568 | | |
4569 | 4569 | | |
4570 | | - | |
| 4570 | + | |
| 4571 | + | |
4571 | 4572 | | |
4572 | 4573 | | |
4573 | 4574 | | |
| |||
0 commit comments