btrfs: Document locking requirement via lockdep_assert_held
authorNikolay Borisov <nborisov@suse.com>
Wed, 27 Jun 2018 13:38:23 +0000 (16:38 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:54 +0000 (13:12 +0200)
commit07e21c4dad42be8d2a6b8cd0b98cf8e6931e12fd
tree6d262c09157e3cf7c0eede5de259634a835d914f
parent55ac01396ae8cfc0616e85bb4b49a130144633c2
btrfs: Document locking requirement via lockdep_assert_held

Remove stale comment since there is no longer an eb->eb_lock and
document the locking expectation with a lockdep_assert_held statement.
No functional changes.

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