Skip to content
Commit d7b0befd authored by Nicolas Bretz's avatar Nicolas Bretz Committed by Theodore Ts'o
Browse files

ext4: on a remount, only log the ro or r/w state when it has changed

A user complained that a message such as:

EXT4-fs (nvme0n1p3): re-mounted UUID ro. Quota mode: none.

implied that the file system was previously mounted read/write and was
now remounted read-only, when it could have been some other mount
state that had changed by the "mount -o remount" operation.  Fix this
by only logging "ro"or "r/w" when it has changed.

https://bugzilla.kernel.org/show_bug.cgi?id=219132



Signed-off-by: default avatarNicolas Bretz <bretznic@gmail.com>
Link: https://patch.msgid.link/20250319171011.8372-1-bretznic@gmail.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 129245cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment