commit | c37f49c7ef317fb8043fd28594d1e5d728a1ef89 | [log] [tgz] |
---|---|---|
author | Zhao Lei <zhaolei@cn.fujitsu.com> | Fri Dec 18 21:48:48 2015 +0800 |
committer | David Sterba <dsterba@suse.com> | Tue Feb 16 13:21:45 2016 +0100 |
tree | 1a665e48696503f004fbeae82c2cb7de48e2b977 | |
parent | 503785306d182ab624a2232856ef8ab503ee85f9 [diff] |
btrfs: reada: reduce additional fs_info->reada_lock in reada_find_zone We can avoid additional locking-acquirment and one pair of kref_get/put by combine two condition. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>