aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/f2fs/gc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c
index 57bea2182f30..cd147e7c71e8 100644
--- a/fs/f2fs/gc.c
+++ b/fs/f2fs/gc.c
@@ -875,6 +875,9 @@ next_step:
875 continue; 875 continue;
876 } 876 }
877 locked = true; 877 locked = true;
878
879 /* wait for all inflight aio data */
880 inode_dio_wait(inode);
878 } 881 }
879 882
880 start_bidx = start_bidx_of_node(nofs, inode) 883 start_bidx = start_bidx_of_node(nofs, inode)