btrfs: Document logic regarding inode in async_cow_submit
authorNikolay Borisov <nborisov@suse.com>
Thu, 3 Jan 2019 08:50:03 +0000 (10:50 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Feb 2019 13:13:20 +0000 (14:13 +0100)
commit4546d178745d5d5f78352a275cf50caa47528436
treefe69937cc2ee2dd8144d684306e85703b8aa6023
parenta1d64ba60926d095d77f747a0c50159d9e2a4d98
btrfs: Document logic regarding inode in async_cow_submit

Add a comment explaining when ->inode could be NULL and why we always
perform the ->async_delalloc_pages modification.

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