[SCSI] st: retry enlarge_buffer allocation
authorKai Makisara <Kai.Makisara@kolumbus.fi>
Thu, 18 Dec 2008 05:49:51 +0000 (14:49 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 2 Jan 2009 18:06:52 +0000 (12:06 -0600)
Make enlarge_buffer() retry allocation if the previously chosen page
order was too small. Really limit the page order to 6. Return error if
the maximum order is not large enough for the request.

Signed-off-by: Kai Makisara <Kai.Makisara@kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

No differences found