commit | 088519572ca8bd6ab354d74bf7c88f413ed0e0be | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Mon Oct 09 16:34:58 2017 +0200 |
committer | Jan Kara <jack@suse.cz> | Wed Oct 11 11:43:24 2017 +0200 |
tree | cbdc7505be12df22e71dd68bf87db1013e07a0f2 | |
parent | de8cd83e91bc3ee212b3e6ec6e4283af9e4ab269 [diff] |
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: Jan Kara <jack@suse.cz>