]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Reword dodgy comments in alloc_extent_buffer
authorNikolay Borisov <nborisov@suse.com>
Wed, 4 Jul 2018 07:24:52 +0000 (10:24 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:54 +0000 (13:12 +0200)
commit78ecf51c733ef88687d047fb296f49da5d89538f
tree38129265c7156d0e3e3a634f0a20ff06b33799f9
parent08f652e1236ea40a0d05e8f413edf10819e53182
btrfs: Reword dodgy comments in alloc_extent_buffer

Commit 20992236417c ("Btrfs: fix page->private races") fixed a genuine
race between extent buffer initialisation and btree_releasepage.
Unfortunately as the code has evolved the comments weren't changed which
made them slightly wrong and they weren't very clear in the fist place.
Fix this by (hopefully) rewording them in a more approachable manner.

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/extent_io.c