summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-04-05 22:23:29 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-04-06 13:50:22 -0400
commit374b3d38feff4a1cb4ecadace9bd915ffd91fe4b (patch)
tree06322f42cee6e39f090ae89274d513dfbcd44a77 /tools/perf/scripts/python/export-to-postgresql.py
parentcf979fca9a05d7d0b116257e5c4dc12b6bb7eb3a (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 <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions