diff options
| author | Eric Sandeen <sandeen@redhat.com> | 2025-02-23 13:57:40 -0600 |
|---|---|---|
| committer | Jan Kara <jack@suse.cz> | 2025-02-24 17:02:37 +0100 |
| commit | eab61d3260d76b3e58888bd685734d0858f83aa3 (patch) | |
| tree | 662e0c2eb117b3367649d82fa39260af0131bea3 /fs/ext2/ext2.h | |
| parent | ext2: Remove reference to bh->b_page (diff) | |
| download | linux-eab61d3260d76b3e58888bd685734d0858f83aa3.tar.gz linux-eab61d3260d76b3e58888bd685734d0858f83aa3.zip | |
ext2: convert to the new mount API
Convert ext2 to the new mount API.
Note that this makes the sb= option more accepting than it was before;
previosly, sb= was only accepted if it was the first specified option.
Now it can exist anywhere, and if respecified, the last specified value
is used.
Parse-time messages here are sent to ext2_msg with a NULL sb, and
ext2_msg is adjusted to accept that, as ext4 does today as well.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20250223201014.7541-2-sandeen@redhat.com
Diffstat (limited to 'fs/ext2/ext2.h')
| -rw-r--r-- | fs/ext2/ext2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext2/ext2.h b/fs/ext2/ext2.h index f38bdd46e4f7..4025f875252a 100644 --- a/fs/ext2/ext2.h +++ b/fs/ext2/ext2.h @@ -368,6 +368,7 @@ struct ext2_inode { #define EXT2_MOUNT_ERRORS_CONT 0x000010 /* Continue on errors */ #define EXT2_MOUNT_ERRORS_RO 0x000020 /* Remount fs ro on errors */ #define EXT2_MOUNT_ERRORS_PANIC 0x000040 /* Panic on errors */ +#define EXT2_MOUNT_ERRORS_MASK 0x000070 #define EXT2_MOUNT_MINIX_DF 0x000080 /* Mimics the Minix statfs */ #define EXT2_MOUNT_NOBH 0x000100 /* No buffer_heads */ #define EXT2_MOUNT_NO_UID32 0x000200 /* Disable 32-bit UIDs */ |
