diff mbox series

block: fix a comment in the queue_attrs[] array

Message ID 20250312150127.703534-1-hch@lst.de (mailing list archive)
State New
Headers show
Series block: fix a comment in the queue_attrs[] array | expand

Commit Message

Christoph Hellwig March 12, 2025, 3:01 p.m. UTC
queue_ra_entry uses limits_lock just like the attributes above it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 block/blk-sysfs.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Nilay Shroff March 12, 2025, 3:20 p.m. UTC | #1
On 3/12/25 8:31 PM, Christoph Hellwig wrote:
> queue_ra_entry uses limits_lock just like the attributes above it.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
Thank you for fixing this!

Looks good to me:
Reviewed-by: Nilay Shroff <nilay@linux.ibm.com>
diff mbox series

Patch

diff --git a/block/blk-sysfs.c b/block/blk-sysfs.c
index d584461a1d84..a2882751f0d2 100644
--- a/block/blk-sysfs.c
+++ b/block/blk-sysfs.c
@@ -671,11 +671,6 @@  static struct attribute *queue_attrs[] = {
 	&queue_dax_entry.attr,
 	&queue_virt_boundary_mask_entry.attr,
 	&queue_dma_alignment_entry.attr,
-
-	/*
-	 * Attributes which require some form of locking other than
-	 * q->sysfs_lock.
-	 */
 	&queue_ra_entry.attr,
 
 	/*