diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-19 15:23:56 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-19 15:24:16 -0400 |
commit | 94e84e2836a97aff0a6bfb03e4399461fb4ed882 (patch) | |
tree | 5546e3aa39907cac71de79bbc704af118348f9c4 | |
parent | a180af9dd349d9819b13af43f877bea4f94c1c79 (diff) |
fixup! bcachefs: snapshot_create_lock
-rw-r--r-- | fs/bcachefs/snapshot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/snapshot.c b/fs/bcachefs/snapshot.c index 4982468bfe11..5a62d2e14cb4 100644 --- a/fs/bcachefs/snapshot.c +++ b/fs/bcachefs/snapshot.c @@ -1447,6 +1447,7 @@ int bch2_delete_dead_snapshots(struct bch_fs *c) } } + bch2_trans_unlock(trans); down_write(&c->snapshot_create_lock); for_each_btree_key(trans, iter, BTREE_ID_snapshots, |