]> git.baikalelectronics.ru Git - kernel.git/commit
libsrp: fix compile failure
authorJames Bottomley <James.Bottomley@suse.de>
Wed, 30 Dec 2009 19:21:06 +0000 (13:21 -0600)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Dec 2009 20:23:27 +0000 (12:23 -0800)
commite92e905a04e83097d208fdbe360c6dfa79374ab1
tree8842d50b949e4884b3b1cd9fe5f3558080230a53
parent1bed234ad63b32b7153b32f25670f986d996fe15
libsrp: fix compile failure

commit 8fb28d52744a6379b11b094062686f4b671d12b3 ("kfifo: move struct
kfifo in place") caused a compile failure in ibmvscsitgt.c because it
changed a pointer to kfifo in the libsrp.h structure to a direct
inclusion without including <linux/kfifo.h>.

The fix is simple, just add the include, but how did this happen? This
change, introduced at -rc2, hardly looks like a bug fix, and it clearly
didn't go through linux-next, which would have picked up this compile
failure (it only occurs on ppc because of the ibm virtual scsi target).

[ Apparently all of -mm wasn't in linux-next.. ]

Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/scsi/libsrp.h