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)
commitb16d011e79fb353abff70b2ef35b22ed90dc8db5
tree38129265c7156d0e3e3a634f0a20ff06b33799f9
parent28187ae569e8a6c34eb7ac8871f479d94be31e16
btrfs: Reword dodgy comments in alloc_extent_buffer

Commit eb14ab8ed24a ("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