diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-08-12 19:45:01 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:38 +0300 |
commit | c497df8b85a7be22373d3d2e57e067285ebcd731 (patch) | |
tree | e2714b1c634e65af4fae611f1ef3f74966e46f9d /fs/bcachefs/subvolume.c | |
parent | 45b033fa1afd35a8eab0af003ffac9413548f476 (diff) | |
download | linux-c497df8b85a7be22373d3d2e57e067285ebcd731.tar.xz |
bcachefs: Increment restart count in bch2_trans_begin()
Instead of counting transaction restarts, count when the transaction is
restarted: if bch2_trans_begin() was called when the transaction wasn't
restarted we need to ensure restart_count is still incremented.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/subvolume.c')
0 files changed, 0 insertions, 0 deletions