diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2014-09-15 19:19:33 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-16 01:19:49 +0400 |
commit | 56924c3811ae843527f7a1090ead73a0acf704a4 (patch) | |
tree | f161e1d1f9b6d941e4040d7cb3bed59ee93b5439 /drivers/scsi/osst.c | |
parent | 437024067ac1fbda7bb3a795e75922f9034672fb (diff) | |
download | linux-56924c3811ae843527f7a1090ead73a0acf704a4.tar.xz |
bonding: consolidate the two rlb_next_rx_slave functions into one
__rlb_next_rx_slave() is a copy of rlb_next_rx_slave() with the
difference that it uses rcu primitives to walk the slave list. We don't
need the two functions and can make rlb_next_rx_slave() a wrapper for
callers which hold RTNL.
So add a comment and ASSERT_RTNL() to make sure what is intended.
Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/osst.c')
0 files changed, 0 insertions, 0 deletions