Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 27f394a7 authored by Tyson Nottingham's avatar Tyson Nottingham Committed by Theodore Ts'o
Browse files

ext4: don't show data=<mode> option if defaulted



Previously, mount -l would show data=<mode> even if the ext4 default
journaling mode was being used. Change this to be consistent with the
rest of the options.

Ext4 already did the right thing when the journaling mode being used
matched the one specified in the superblock's default mount options. The
reason it failed to do the right thing for the ext4 defaults is that,
when set, they were never included in sbi->s_def_mount_opt (unlike the
superblock's defaults, which were).

Signed-off-by: default avatarTyson Nottingham <tgnottingham@gmail.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent ceec0376
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