summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-sysfs.c
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@linux.alibaba.com>2021-08-17 09:32:36 +0800
committerTejun Heo <tj@kernel.org>2021-08-17 07:49:10 -1000
commitd21cece0dbb424ad3ff9e49bde6954632b8efede (patch)
treef0209f7e615290d4b0abaeb806231e83ad9725cd /block/blk-mq-sysfs.c
parentc4560c2c88a4c809800ba8e76faabaf80bf6ee89 (diff)
downloadlinux-d21cece0dbb424ad3ff9e49bde6954632b8efede.tar.bz2
workqueue: Change the code of calculating work_flags in insert_wq_barrier()
Add a local var @work_flags to calculate work_flags step by step, so that we don't need to squeeze several flags in only the last line of code. Parepare for next patch to add a bit to barrier work item's flag. Not squshing this to next patch makes it clear that what it will have changed. No functional change intended. Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'block/blk-mq-sysfs.c')
0 files changed, 0 insertions, 0 deletions