diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2008-12-19 16:56:54 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-12-29 11:24:36 -0600 |
commit | dedbc2b3cb8404c618975bd2811c7605a4ccb51e (patch) | |
tree | 0b97af05604e62e1110fe6ba1cab5ee08374b8e4 /net/tipc/user_reg.c | |
parent | 1d3aab084a2b4d6c60c8478b3ddf5dd9391f6a32 (diff) | |
download | blackbird-obmc-linux-dedbc2b3cb8404c618975bd2811c7605a4ccb51e.tar.gz blackbird-obmc-linux-dedbc2b3cb8404c618975bd2811c7605a4ccb51e.zip |
[SCSI] zfcp: Simplify SBAL allocation to fix sparse warnings
When waiting for a request claim the SBAL before waiting. This way,
locking before each check of the free counter is not required and
sparse does not emit warnings for the complicated locking scheme.
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Acked-by: Felix Beck <felix@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'net/tipc/user_reg.c')
0 files changed, 0 insertions, 0 deletions