Skip to content
Commit 08851957 authored by Jan Kara's avatar Jan Kara
Browse files

ext2: Parse mount options into a dedicated structure



Instead of parsing mount options directly into the superblock (and
restoring options in case of error), parse the options into a dedicated
structure and only copy everything when we know we can safely switch
options. This will allow us to simplify locking and do option parsing
without holding sb->s_lock.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent de8cd83e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment