diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-02-17 20:51:52 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:53 -0400 |
commit | 6623c0fcdffe22db466ec38c5f9f4b3a44c33003 (patch) | |
tree | c5751424930e029896f6fe3e8d1ba2afea5590f7 /fs/bcachefs/ec.c | |
parent | 2c7dd446d91681e90396c82e20c703b93f8daa2f (diff) | |
download | lwn-6623c0fcdffe22db466ec38c5f9f4b3a44c33003.tar.gz lwn-6623c0fcdffe22db466ec38c5f9f4b3a44c33003.zip |
bcachefs: Add an assertion for using multiple btree_trans
A thread should never be using more than one btree_trans - doing so is
an invitation for deadlocks.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/ec.c')
0 files changed, 0 insertions, 0 deletions