diff options
author | Christoph Hellwig <[email protected]> | 2023-07-24 07:22:39 -0700 |
---|---|---|
committer | David Sterba <[email protected]> | 2023-08-21 14:54:47 +0200 |
commit | 18f62b86c4ea943256f8962ecd0cb013c97b4e0f (patch) | |
tree | 3dceed925c52163a1877a7c3406cb672ccb7764a /lib/dynamic_debug.c | |
parent | 953fa5ced510c4937075002bbfc6405cd500efef (diff) |
btrfs: cleanup the COW fallback logic in run_delalloc_nocow
Use the block group pointer used to track the outstanding NOCOW writes as
a boolean to remove the duplicate nocow variable, and keep it contained
in the main loop to simplify the logic.
Reviewed-by: Boris Burkov <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions