diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-06 05:23:29 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-06 20:50:22 +0300 |
commit | 374b3d38feff4a1cb4ecadace9bd915ffd91fe4b (patch) | |
tree | 06322f42cee6e39f090ae89274d513dfbcd44a77 /tools/perf/scripts/python/stackcollapse.py | |
parent | cf979fca9a05d7d0b116257e5c4dc12b6bb7eb3a (diff) | |
download | linux-374b3d38feff4a1cb4ecadace9bd915ffd91fe4b.tar.xz |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions