]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ext2: convert to the new mount API
authorEric Sandeen <sandeen@redhat.com>
Sun, 23 Feb 2025 19:57:40 +0000 (13:57 -0600)
committerJan Kara <jack@suse.cz>
Mon, 24 Feb 2025 16:02:37 +0000 (17:02 +0100)
commiteab61d3260d76b3e58888bd685734d0858f83aa3
tree662e0c2eb117b3367649d82fa39260af0131bea3
parentef51934a05d3a223b040a23b6e78335f63f74083
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
fs/ext2/ext2.h
fs/ext2/super.c