commit | d0456c72df5fb3b800ba9b0ec2465fdbcaf29a7f | [log] [tgz] |
---|---|---|
author | Lars Ellenberg <lars.ellenberg@linbit.com> | Thu Mar 10 23:28:13 2011 +0100 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Sun Nov 04 00:16:19 2012 +0100 |
tree | b9b7174176a29502ab045dad3c947cf1e7a885f1 | |
parent | 543cc10b4cc5c60aa9fcc62705ccfb9998bf4697 [diff] |
drbd: simplify conn_all_vols_unconf, make it bool 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>