drbd: simplify conn_all_vols_unconf, make it bool
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 10 Mar 2011 22:28:13 +0000 (23:28 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Sat, 3 Nov 2012 23:16:19 +0000 (00:16 +0100)
Get rid of a temporary variable and, funny bitand assignment.
Just short circuit, returning false, once we encounter the first
still configured volume.

FIXME verify call sites for need of rcu_read_lock or stronger.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>

No differences found