f2fs: forbid to do fstrim if fs has some error
authorYunlei He <heyunlei@huawei.com>
Thu, 1 Sep 2016 02:14:39 +0000 (10:14 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 8 Sep 2016 01:53:53 +0000 (18:53 -0700)
commit64689754cff7354b5edd29a4e676390b362a4b1f
treeb7e99f77edc07ac265c04fa282c8e8892dc87b74
parent6438097bd16f607c7babbb54159753d0e8b94d75
f2fs: forbid to do fstrim if fs has some error

This patch skip fstrim if sbi set SBI_NEED_FSCK flag

Signed-off-by: Yunlei He <heyunlei@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c
This page took 0.024237 seconds and 5 git commands to generate.