summaryrefslogtreecommitdiff
path: root/drivers/block/ida_ioctl.h
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2011-03-10 23:28:13 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-04 00:16:19 +0100
commitd0456c72df5fb3b800ba9b0ec2465fdbcaf29a7f (patch)
treeb9b7174176a29502ab045dad3c947cf1e7a885f1 /drivers/block/ida_ioctl.h
parent543cc10b4cc5c60aa9fcc62705ccfb9998bf4697 (diff)
downloadlinux-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