]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: rename root fields in delayed refs structs
authorNikolay Borisov <nborisov@suse.com>
Tue, 12 Oct 2021 08:21:33 +0000 (11:21 +0300)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Oct 2021 17:08:06 +0000 (19:08 +0200)
commit7a3a29b23ab54665a54b79badcec19818ed3ad31
tree2ac93c7120422c0cc33ce92405c86692bff6ebb9
parent67c879aff4034eadabc6b1042ea39a5886198c99
btrfs: rename root fields in delayed refs structs

Both data and metadata delayed ref structures have fields named
root/ref_root respectively. Those are somewhat cryptic and don't really
convey the real meaning. In fact those roots are really the original
owners of the respective block (i.e in case of a snapshot a data delayed
ref will contain the original root that owns the given block). Rename
those fields accordingly and adjust comments.

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/delayed-ref.c
fs/btrfs/delayed-ref.h
fs/btrfs/extent-tree.c
fs/btrfs/ref-verify.c