diff options
author | Christoph Hellwig <hch@lst.de> | 2023-07-24 07:22:39 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-08-21 14:54:47 +0200 |
commit | 18f62b86c4ea943256f8962ecd0cb013c97b4e0f (patch) | |
tree | 3dceed925c52163a1877a7c3406cb672ccb7764a /lib/test_kprobes.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 <boris@bur.io>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'lib/test_kprobes.c')
0 files changed, 0 insertions, 0 deletions