]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
btrfs: comment and minor simplifications in run_delalloc_nocow
authorNikolay Borisov <nborisov@suse.com>
Thu, 22 Aug 2019 14:25:23 +0000 (17:25 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:59:13 +0000 (14:59 +0200)
commite8e210075a901aac577fd33619509dfb21a07071
treeee149d3279baae1dc29129417363acf3950db79b
parent922f0518249d20d00ba11470331a2c89b6749c91
btrfs: comment and minor simplifications in run_delalloc_nocow

Add a comment explaining why we keep the BUG also use the already read
and cached value of extent ram bytes stored in 'ram_bytes'.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c