Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim <jaeg...@kernel.org>:
On Tue, 4 Apr 2023 23:28:07 +0800 you wrote: > With below case, it can mount multi-device image w/ rw option, however > one of secondary device is set as ro, later update will cause panic, so > let's introduce f2fs_dev_is_readonly(), and check multi-devices rw status > in f2fs_remount() w/ it in order to avoid such inconsistent mount status. > > mkfs.f2fs -c /dev/zram1 /dev/zram0 -f > blockdev --setro /dev/zram1 > mount -t f2fs dev/zram0 /mnt/f2fs > mount: /mnt/f2fs: WARNING: source write-protected, mounted read-only. > mount -t f2fs -o remount,rw mnt/f2fs > dd if=/dev/zero of=/mnt/f2fs/file bs=1M count=8192 > > [...] Here is the summary with links: - [f2fs-dev,v2] f2fs: fix to check readonly condition correctly https://git.kernel.org/jaegeuk/f2fs/c/2bce08d26c0f You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel