OSDN Git Service

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)
commit448f3a17ac538f6e5b0fa94259cb41f3f019394f
treea2a3f099684c97a792cc683492ba738e122c2c45
parent738c93d42c277d790cd49372c9bf24bcfea13306
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