public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] Staging: spectra: update blk_queue_ordered()
@ 2010-11-18  5:05 Dan Carpenter
  2010-11-18  7:00 ` Pekka Enberg
  2010-11-19 18:13 ` Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: Dan Carpenter @ 2010-11-18  5:05 UTC (permalink / raw)
  To: kernel-janitors

blk_queue_ordered() isn't around anymore so this causes a compile error.
That change was in 4913efe456c "block: deprecate barrier and replace
blk_queue_ordered() with blk_queue_flush()" 

Signed-off-by: Dan Carpenter <error27@gmail.com>

diff --git a/drivers/staging/spectra/ffsport.c b/drivers/staging/spectra/ffsport.c
index c7932da..63a9d0a 100644
--- a/drivers/staging/spectra/ffsport.c
+++ b/drivers/staging/spectra/ffsport.c
@@ -656,7 +656,7 @@ static int SBD_setup_device(struct spectra_nand_dev *dev, int which)
 	/* Here we force report 512 byte hardware sector size to Kernel */
 	blk_queue_logical_block_size(dev->queue, 512);
 
-	blk_queue_ordered(dev->queue, QUEUE_ORDERED_DRAIN_FLUSH);
+	blk_queue_flush(dev->queue, REQ_FLUSH);
 
 	dev->thread = kthread_run(spectra_trans_thread, dev, "nand_thd");
 	if (IS_ERR(dev->thread)) {

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-19 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-18  5:05 [patch] Staging: spectra: update blk_queue_ordered() Dan Carpenter
2010-11-18  7:00 ` Pekka Enberg
2010-11-19 18:13 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox