diff options
author | Thomas Bertschinger <tahbertschinger@gmail.com> | 2024-05-27 22:36:10 -0600 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-23 12:57:13 -0400 |
commit | 30302eb598b33741e9c730f9e6bfbe4bd360098c (patch) | |
tree | 8134d087c8b693e95371aa01cedc6877cfde5ff2 /fs/bcachefs/fs.c | |
parent | a25851d2cdd73e44263e662783d9ecb1aa2da5be (diff) |
bcachefs: Add error code to defer option parsing
This introduces a new error code, option_needs_open_fs, which is used to
indicate that an attempt was made to parse a mount option prior to
opening a filesystem, when that mount option requires an open filesystem
in order to be validated.
Returning this error results in bch2_parse_one_mount_opt() saving that
option for later parsing, after the filesystem is opened.
Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs.c')
0 files changed, 0 insertions, 0 deletions