Files
kernel_xiaomi_sm8250/include/linux
Tejun Heo 09ac46c429 block: misc updates to blk_get_queue()
* blk_get_queue() is peculiar in that it returns 0 on success and 1 on
  failure instead of 0 / -errno or boolean.  Update it such that it
  returns %true on success and %false on failure.

* Make sure the caller checks for the return value.

* Separate out __blk_get_queue() which doesn't check whether @q is
  dead and put it in blk.h.  This will be used later.

This patch doesn't introduce any functional changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2011-12-14 00:33:38 +01:00
..
2011-11-07 09:11:16 -08:00
2011-11-02 16:07:03 -07:00
2011-11-16 09:21:50 +01:00
2011-11-07 23:54:53 +01:00
2011-11-23 11:33:07 +01:00
2011-11-02 16:06:57 -07:00
2011-11-22 16:37:01 -05:00
2011-11-02 16:07:02 -07:00
2011-11-29 11:59:50 +00:00
2011-10-31 17:30:47 -07:00
2011-10-31 17:30:44 -07:00
2011-11-02 16:07:02 -07:00
2011-11-02 16:07:02 -07:00