Commit f1871876 authored by Eric Sandeen's avatar Eric Sandeen Committed by Carlos Llamas
Browse files

UPSTREAM: f2fs: defer readonly check vs norecovery



Defer the readonly-vs-norecovery check until after option parsing is done
so that option parsing does not require an active superblock for the test.
Add a helpful message, while we're at it.

(I think could be moved back into parsing after we switch to the new mount
API if desired, as the fs context will have RO state available.)

Change-Id: Idc4378349bcaf393b41615837e3494e3ed98983e
Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit 9cca4987)
parent 5e433799
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment