diff options
| author | Kent Overstreet <[email protected]> | 2024-04-05 22:23:29 -0400 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2024-04-06 13:50:22 -0400 |
| commit | 374b3d38feff4a1cb4ecadace9bd915ffd91fe4b (patch) | |
| tree | 06322f42cee6e39f090ae89274d513dfbcd44a77 /lib/crypto/mpi/mpi-cmp.c | |
| parent | cf979fca9a05d7d0b116257e5c4dc12b6bb7eb3a (diff) | |
bcachefs: Fix BCH_IOCTL_FSCK_OFFLINE for encrypted filesystems
To open an encrypted filesystem, we use request_key() to get the
encryption key from the user's keyring - but request_key() needs to
happen in the context of the process that invoked the ioctl.
This easily fixed by using bch2_fs_open() in nostart mode.
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions