]> git.hungrycats.org Git - linux/commit
[PATCH] Remove naked GFP_DMA from drivers/scsi/sr.c
authorMatthew Wilcox <willy@debian.org>
Thu, 6 Mar 2003 12:52:50 +0000 (06:52 -0600)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Mar 2003 12:52:50 +0000 (06:52 -0600)
commitc09a561844076460e564fe03027e8f85e2b15503
tree1bc920dc70092a9283580632bcbb456dc7cb7520
parent8e9029614b73c34c86c025df4b5dde4674606a39
[PATCH] Remove naked GFP_DMA from drivers/scsi/sr.c

In get_sectorsize(), we can already sleep in scsi_wait_req().
In get_capabilities(), we can use GFP_KERNEL because it is only called
from sr_attach() which already does a GFP_KERNEL allocation.
drivers/scsi/sr.c