diff options
author | 2024-04-05 22:23:29 -0400 | |
---|---|---|
committer | 2024-04-06 13:50:22 -0400 | |
commit | 374b3d38feff4a1cb4ecadace9bd915ffd91fe4b (patch) | |
tree | 06322f42cee6e39f090ae89274d513dfbcd44a77 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcachefs: fix rand_delete unit test (diff) | |
download | wireguard-linux-374b3d38feff4a1cb4ecadace9bd915ffd91fe4b.tar.xz wireguard-linux-374b3d38feff4a1cb4ecadace9bd915ffd91fe4b.zip |
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 <kent.overstreet@linux.dev>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions