diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2011-03-10 23:28:13 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-04 00:16:19 +0100 |
commit | d0456c72df5fb3b800ba9b0ec2465fdbcaf29a7f (patch) | |
tree | b9b7174176a29502ab045dad3c947cf1e7a885f1 /drivers/block/ida_ioctl.h | |
parent | 543cc10b4cc5c60aa9fcc62705ccfb9998bf4697 (diff) | |
download | linux-d0456c72df5fb3b800ba9b0ec2465fdbcaf29a7f.tar.gz |
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>
Diffstat (limited to 'drivers/block/ida_ioctl.h')
0 files changed, 0 insertions, 0 deletions