diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-01-24 04:16:59 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-02-12 02:04:42 +0100 |
commit | 081d78c2fc4ab2fef4cdf1100dd22155c73f8657 (patch) | |
tree | 05d74a3b4845e636b539661709e241012ba472e1 /fs/cifs/smbencrypt.c | |
parent | f2fs: split UMOUNT and FASTBOOT flags (diff) | |
download | linux-081d78c2fc4ab2fef4cdf1100dd22155c73f8657.tar.xz linux-081d78c2fc4ab2fef4cdf1100dd22155c73f8657.zip |
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>
Diffstat (limited to 'fs/cifs/smbencrypt.c')
0 files changed, 0 insertions, 0 deletions