summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2025-01-08 18:18:32 +0000
committerJaegeuk Kim <jaegeuk@kernel.org>2025-01-16 17:27:51 +0000
commit4811fee8283f3f7416dd66e2303a55f6761187fc (patch)
tree4ad77676f5f3274549fed54464f3e7d9267d6f15
parent120ac1dc322f402544423582234f441d98ea4a6e (diff)
f2fs: remove blk_finish_plug
Let's remove unclear blk_finish_plug. Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r--fs/f2fs/data.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index e9582e06403b..008ecd8fd386 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -511,10 +511,6 @@ static void f2fs_submit_write_bio(struct f2fs_sb_info *sbi, struct bio *bio,
enum page_type type)
{
WARN_ON_ONCE(is_read_io(bio_op(bio)));
-
- if (f2fs_lfs_mode(sbi) && current->plug && PAGE_TYPE_ON_MAIN(type))
- blk_finish_plug(current->plug);
-
trace_f2fs_submit_write_bio(sbi->sb, type, bio);
iostat_update_submit_ctx(bio, type);
submit_bio(bio);