All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pekka Enberg <penberg@kernel.org>
To: kernel-janitors@vger.kernel.org
Subject: Re: [patch] Staging: spectra: update blk_queue_ordered()
Date: Thu, 18 Nov 2010 07:00:50 +0000	[thread overview]
Message-ID: <4CE4CF22.9030400@kernel.org> (raw)
In-Reply-To: <20101118050544.GO31724@bicker>

On 11/18/10 7:05 AM, Dan Carpenter wrote:
> 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>

Acked-by: Pekka Enberg <penberg@kernel.org>

> 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)) {
>


  reply	other threads:[~2010-11-18  7:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-18  5:05 [patch] Staging: spectra: update blk_queue_ordered() Dan Carpenter
2010-11-18  7:00 ` Pekka Enberg [this message]
2010-11-19 18:13 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CE4CF22.9030400@kernel.org \
    --to=penberg@kernel.org \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.