diff options
author | Chao Yu <yuchao0@huawei.com> | 2021-04-21 09:54:55 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2021-04-21 21:00:59 -0700 |
commit | 509f1010e4fc55e2dbfc036317afd573ccd0931c (patch) | |
tree | bc63db4c655c251770a14cc1fefb7f58cdd08799 /drivers/base/init.c | |
parent | a7b4e506dcc461c214734d03816c1d47bd88c9a3 (diff) | |
download | linux-stable-509f1010e4fc55e2dbfc036317afd573ccd0931c.tar.gz linux-stable-509f1010e4fc55e2dbfc036317afd573ccd0931c.tar.bz2 linux-stable-509f1010e4fc55e2dbfc036317afd573ccd0931c.zip |
f2fs: avoid using native allocate_segment_by_default()
As we did for other cases, in fix_curseg_write_pointer(), let's
use wrapped f2fs_allocate_new_section() instead of native
allocate_segment_by_default(), by this way, it fixes to cover
segment allocation with curseg_lock and sentry_lock.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'drivers/base/init.c')
0 files changed, 0 insertions, 0 deletions