From: Simon Glass <simon.glass@canonical.com> Change sb_rdonly() to return 0 to allow read-write mounting. This enables the filesystem to be mounted without the read-only restriction. Signed-off-by: Simon Glass <simon.glass@canonical.com> --- fs/ext4l/ext4_uboot.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ext4l/ext4_uboot.h b/fs/ext4l/ext4_uboot.h index 209f288f281..4dd03494586 100644 --- a/fs/ext4l/ext4_uboot.h +++ b/fs/ext4l/ext4_uboot.h @@ -289,8 +289,8 @@ extern struct user_namespace init_user_ns; /* might_sleep - stub */ #define might_sleep() do { } while (0) -/* sb_rdonly - for now U-Boot mounts filesystems read-only */ -#define sb_rdonly(sb) 1 +/* sb_rdonly - U-Boot mounts filesystems read-write */ +#define sb_rdonly(sb) 0 /* Trace stubs */ #define trace_ext4_journal_start_inode(...) do { } while (0) -- 2.43.0