Commit d7b0bef
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: Nicolas Bretz <bretznic@gmail.com>
Link: https://patch.msgid.link/20250319171011.8372-1-bretznic@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>1 parent 129245c commit d7b0bef
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6780 | 6780 | | |
6781 | 6781 | | |
6782 | 6782 | | |
| 6783 | + | |
6783 | 6784 | | |
6784 | 6785 | | |
6785 | 6786 | | |
| |||
6791 | 6792 | | |
6792 | 6793 | | |
6793 | 6794 | | |
6794 | | - | |
6795 | | - | |
6796 | | - | |
| 6795 | + | |
| 6796 | + | |
| 6797 | + | |
6797 | 6798 | | |
6798 | 6799 | | |
6799 | 6800 | | |
| |||
0 commit comments