Skip to content

Commit 8b4805c

Browse files
committed
Merge tag 'block-5.11-2021-01-01' of git://git.kernel.dk/linux-block
Pull block fixes from Jens Axboe: "Two minor block fixes from this last week that should go into 5.11: - Add missing NOWAIT debugfs definition (Andres) - Fix kerneldoc warning introduced this merge window (Randy)" * tag 'block-5.11-2021-01-01' of git://git.kernel.dk/linux-block: block: add debugfs stanza for QUEUE_FLAG_NOWAIT fs: block_dev.c: fix kernel-doc warnings from struct block_device changes
2 parents dc3e24b + dc30432 commit 8b4805c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

block/blk-mq-debugfs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ static const char *const blk_queue_flag_name[] = {
129129
QUEUE_FLAG_NAME(PCI_P2PDMA),
130130
QUEUE_FLAG_NAME(ZONE_RESETALL),
131131
QUEUE_FLAG_NAME(RQ_ALLOC_TIME),
132+
QUEUE_FLAG_NAME(NOWAIT),
132133
};
133134
#undef QUEUE_FLAG_NAME
134135

fs/block_dev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,6 @@ static void bd_finish_claiming(struct block_device *bdev, void *holder)
10551055
/**
10561056
* bd_abort_claiming - abort claiming of a block device
10571057
* @bdev: block device of interest
1058-
* @whole: whole block device
10591058
* @holder: holder that has claimed @bdev
10601059
*
10611060
* Abort claiming of a block device when the exclusive open failed. This can be
@@ -1828,6 +1827,7 @@ const struct file_operations def_blk_fops = {
18281827
/**
18291828
* lookup_bdev - lookup a struct block_device by name
18301829
* @pathname: special file representing the block device
1830+
* @dev: return value of the block device's dev_t
18311831
*
18321832
* Get a reference to the blockdevice at @pathname in the current
18331833
* namespace if possible and return it. Return ERR_PTR(error)

0 commit comments

Comments
 (0)