]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Remove redundant comment from btrfs_search_forward
authorNikolay Borisov <nborisov@suse.com>
Tue, 27 Feb 2018 15:37:16 +0000 (17:37 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:41 +0000 (15:09 +0200)
commitaa0f840aacca995f9f17d5948dbb0d5cdf38302d
treea2a3f099684c97a792cc683492ba738e122c2c45
parentd4a8c412a26f69b36077450a16a842a8eca98be1
btrfs: Remove redundant comment from btrfs_search_forward

This function always sets keep_locks to 1 and saves the old value of
keep_locks which is restored at the end. So there is no way it can be
called without keep_locks being set. Remove comment imposing redundant
requirement on callers.

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