ANDROID: f2fs: fix wrong android tracepoint
f2fs_submit_page_bio is called from in-place-write case.
Let's not assume read path only.
Fixes: 8a007427f605 ("ANDROID: f2fs: Complement "android_fs" tracepoint of read path")
Change-Id: I9bb8b7833d57c4342b318da52e4353f70acc3eb0
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
This commit is contained in:
@@ -513,7 +513,10 @@ int f2fs_submit_page_bio(struct f2fs_io_info *fio)
|
||||
inc_page_count(fio->sbi, is_read_io(fio->op) ?
|
||||
__read_io_type(page): WB_DATA_TYPE(fio->page));
|
||||
|
||||
__f2fs_submit_read_bio(fio->sbi, bio, fio->type);
|
||||
if (is_read_io(fio->op))
|
||||
__f2fs_submit_read_bio(fio->sbi, bio, fio->type);
|
||||
else
|
||||
__submit_bio(fio->sbi, bio, fio->type);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user