diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-05-07 15:52:57 (GMT) |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-05-07 17:44:57 (GMT) |
commit | 0080c5076409d211fbe28d6f07966f7d39e58bad (patch) | |
tree | 580bffd1c8dfb3de63e4f446bfb3db2d43c4f779 /fs/f2fs/acl.c | |
parent | 79344efb93a26378a91193bed133cee42162cd81 (diff) | |
download | linux-0080c5076409d211fbe28d6f07966f7d39e58bad.tar.xz |
f2fs: do not preallocate block unaligned to 4KB
Previously f2fs_preallocate_blocks() tries to allocate unaligned blocks.
In f2fs_write_begin(), however, prepare_write_begin() does not skip its
allocation due to (len != 4KB).
So, it needs locking node page twice unexpectedly.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/acl.c')
0 files changed, 0 insertions, 0 deletions