~ubuntu-branches/ubuntu/karmic/linux-mvl-dove/karmic-proposed

« back to all changes in this revision

Viewing changes to drivers/mmc/card/queue.c

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bader
  • Date: 2010-03-10 22:24:12 UTC
  • mto: (15.1.2 karmic-security)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20100310222412-k86m3r53jw0je7x1
Tags: upstream-2.6.31
ImportĀ upstreamĀ versionĀ 2.6.31

Show diffs side-by-side

added added

removed removed

Lines of Context:
245
245
                kfree(mq->bounce_buf);
246
246
        mq->bounce_buf = NULL;
247
247
 
248
 
        /*
249
 
         * Calling blk_cleanup_queue() would be too soon here. As long as
250
 
         * the gendisk has a reference to it and is not released we should
251
 
         * keep the queue. It has been shutdown and will not accept any new
252
 
         * requests, so that should be safe.
253
 
         */
 
248
        blk_cleanup_queue(mq->queue);
254
249
 
255
250
        mq->card = NULL;
256
251
}