]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Document consistency of transaction->io_bgs list
authorNikolay Borisov <nborisov@suse.com>
Thu, 8 Feb 2018 16:25:18 +0000 (18:25 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:34 +0000 (15:09 +0200)
commit69fbfa1ea9d7e24edad5db9df904089142045d3d
treeaad724668ba992f9e3128796be555a78081898c7
parent6e0ca2390bbfdf92ab915fa127f484eb9004f5ea
btrfs: Document consistency of transaction->io_bgs list

The reason why io_bgs can be modified without holding any lock is
non-obvious. Document it and reference that documentation from the
respective call sites.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/transaction.h