diff options
author | Christoph Hellwig <hch@lst.de> | 2022-11-28 10:15:12 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-01-07 00:12:56 +0100 |
commit | bc29835a9d4860df93a663d659e07dfdd8b4f629 (patch) | |
tree | ba2c1dcb75ae9c6a2ec04a96e1624a833237d19f /fs/f2fs/compress.c | |
parent | f2fs: rename F2FS_MAP_UNWRITTEN to F2FS_MAP_DELALLOC (diff) | |
download | linux-bc29835a9d4860df93a663d659e07dfdd8b4f629.tar.xz linux-bc29835a9d4860df93a663d659e07dfdd8b4f629.zip |
f2fs: split __submit_bio
Split __submit_bio into one function each for reads and writes, and a
helper for aligning writes.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/compress.c')
-rw-r--r-- | fs/f2fs/compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/compress.c b/fs/f2fs/compress.c index 719b0a0184b0..e4db3b7932a3 100644 --- a/fs/f2fs/compress.c +++ b/fs/f2fs/compress.c @@ -1070,7 +1070,7 @@ retry: if (ret) goto out; if (bio) - f2fs_submit_bio(sbi, bio, DATA); + f2fs_submit_read_bio(sbi, bio, DATA); ret = f2fs_init_compress_ctx(cc); if (ret) |