summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/inode.c
diff options
context:
space:
mode:
authorJaegeuk Kim2016-05-18 23:07:56 +0200
committerJaegeuk Kim2016-05-20 20:46:15 +0200
commit38f91ca8c0ea69f707c26f592dcc70f937088bcc (patch)
tree746c2c5769a93e49649b6d0b3a988c3c28c3319c /fs/f2fs/inode.c
parentf2fs: avoid ENOSPC fault in the recovery process (diff)
downloadkernel-qcow2-linux-38f91ca8c0ea69f707c26f592dcc70f937088bcc.tar.gz
kernel-qcow2-linux-38f91ca8c0ea69f707c26f592dcc70f937088bcc.tar.xz
kernel-qcow2-linux-38f91ca8c0ea69f707c26f592dcc70f937088bcc.zip
f2fs: flush pending bios right away when error occurs
Given errors, this patch flushes pending bios as soon as possible. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/inode.c')
-rw-r--r--fs/f2fs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c
index 689d6914e2e4..2e68adab0d64 100644
--- a/fs/f2fs/inode.c
+++ b/fs/f2fs/inode.c
@@ -283,7 +283,7 @@ retry:
cond_resched();
goto retry;
} else if (err != -ENOENT) {
- f2fs_stop_checkpoint(sbi);
+ f2fs_stop_checkpoint(sbi, false);
}
return 0;
}