commit | 081d78c2fc4ab2fef4cdf1100dd22155c73f8657 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Jan 23 19:16:59 2015 -0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Feb 11 17:04:42 2015 -0800 |
tree | 05d74a3b4845e636b539661709e241012ba472e1 | |
parent | 119ee9144534141822462e3e8a5ccc8dc537f712 [diff] |
f2fs: should fail mount when trying to recover data on read-only dev If device is read-only, we should not proceed data recovery. But, if the previous checkpoint was done by normal clean shutdown, it's safe to proceed the recovery, since there will be no data to be recovered. Reviewed-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>