projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
6lowpan: Remove redundant initialisation.
[platform/kernel/linux-rpi.git]
/
block
/
blk-mq.h
diff --git
a/block/blk-mq.h
b/block/blk-mq.h
index
ef59fee
..
a7482d2
100644
(file)
--- a/
block/blk-mq.h
+++ b/
block/blk-mq.h
@@
-378,12
+378,13
@@
static inline bool hctx_may_queue(struct blk_mq_hw_ctx *hctx,
#define __blk_mq_run_dispatch_ops(q, check_sleep, dispatch_ops) \
do { \
if ((q)->tag_set->flags & BLK_MQ_F_BLOCKING) { \
#define __blk_mq_run_dispatch_ops(q, check_sleep, dispatch_ops) \
do { \
if ((q)->tag_set->flags & BLK_MQ_F_BLOCKING) { \
+ struct blk_mq_tag_set *__tag_set = (q)->tag_set; \
int srcu_idx; \
\
might_sleep_if(check_sleep); \
int srcu_idx; \
\
might_sleep_if(check_sleep); \
- srcu_idx = srcu_read_lock(
(q)->tag_set->srcu);
\
+ srcu_idx = srcu_read_lock(
__tag_set->srcu);
\
(dispatch_ops); \
(dispatch_ops); \
- srcu_read_unlock(
(q)->tag_set->srcu, srcu_idx);
\
+ srcu_read_unlock(
__tag_set->srcu, srcu_idx);
\
} else { \
rcu_read_lock(); \
(dispatch_ops); \
} else { \
rcu_read_lock(); \
(dispatch_ops); \