summaryrefslogtreecommitdiff
path: root/libbcachefs/btree_trans_commit.c
diff options
context:
space:
mode:
authorThomas Mühlbacher <tmuehlbacher@posteo.net>2024-06-26 18:00:48 +0200
committerThomas Mühlbacher <tmuehlbacher@posteo.net>2024-06-26 19:14:45 +0200
commit9bd3ada1d15d7533ff02fd5cdcbab53ecace7906 (patch)
tree3ee4a3e3993bbbe6680816d15e8ef12c96811ce5 /libbcachefs/btree_trans_commit.c
parenta411e7237f4a452a622034731575810e57bfadd7 (diff)
feat(mount): make unlock policy optional/explict
This changes the semantics of some arguments related to unlocking and slightly changes the unlocking logic. Also update help formatting/text. Instead of defaulting to `UnlockPolicy::Ask`, the argument becomes optional. That means if it is specified, the user really wants that specific policy. Similar to how `passphrase_file` also works. This also extends `UnlockPolicy` to override `isatty` detection. Fixes: #292 Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
Diffstat (limited to 'libbcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions