[PATCH v2 18/34] ntfs: use the generic emergency read-only state
Hyunchul Lee
hyc.lee at gmail.com
Tue Nov 3 16:55:30 PST 2026
On Thu, Oct 29, 2026 at 05:07:09PM +0100, Christian Brauner wrote:
> Set SB_STATE_EMERGENCY_RO instead of the NV_EmergencyRO volume flag when
> an error makes the volume read-only. ntfs_emergency_state() keeps
> telling a shutdown (EIO) and the emergency state (EROFS) apart so all of
> its callers stay as they are. /proc/mounts shows the volume read-only
> again.
>
> Signed-off-by: Christian Brauner (Amutable) <brauner at kernel.org>
Looks good to me.
Reviewed-by: Hyunchul Lee <hyc.lee at gmail.com>
--
Thanks,
Hyunchul
More information about the linux-mtd
mailing list