aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2023-03-13 07:09:33 -0400
committerKent Overstreet <[email protected]>2023-10-22 17:09:57 -0400
commitae1f56238d55ad6d16564455559d1fa9a8cea2f6 (patch)
tree36690f9c4a6889af17acd3d4fc60bd735ef6402a /tools/perf/scripts/python/export-to-postgresql.py
parente6539b0aebd384549aef4dc3b917658f24bb6b83 (diff)
bcachefs: Mark new snapshots earlier in create path
This fixes a null ptr deref when creating new snapshots: bch2_create_trans() will lookup the subvolume and find the _new_ snapshot in the BCH_CREATE_SUBVOL path that's being created in that transaction. We have to call bch2_mark_snapshot() earlier so that it's properly initialized, instead of leaving it for transaction commit. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions