linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] block/blk-sysfs.c: Remove last reference of blk_init_queue
@ 2019-01-15  3:06 Marcos Paulo de Souza
  2019-01-15  3:54 ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: Marcos Paulo de Souza @ 2019-01-15  3:06 UTC (permalink / raw)
  To: linux-kernel; +Cc: Marcos Paulo de Souza, Jens Axboe, open list:BLOCK LAYER

blk_init_queue was removed in a1ce35fa4985.

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
---
 There are more two references in Documentation/block/biodoc.txt, but maybe that
 file needs a rewrite in rst anyway?

 block/blk-sysfs.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/block/blk-sysfs.c b/block/blk-sysfs.c
index 590d1ef2f961..dd9b50226c6e 100644
--- a/block/blk-sysfs.c
+++ b/block/blk-sysfs.c
@@ -821,10 +821,9 @@ static void blk_free_queue_rcu(struct rcu_head *rcu_head)
  * @work: pointer to the release_work member of the request queue to be released
  *
  * Description:
- *     blk_release_queue is the counterpart of blk_init_queue(). It should be
- *     called when a request queue is being released; typically when a block
- *     device is being de-registered. Its primary task it to free the queue
- *     itself.
+ *     Should be called when a request queue is being released;
+ *     typically when a block device is being de-registered. Its primary task it
+ *     to free the queue itself.
  *
  * Notes:
  *     The low level driver must have finished any outstanding requests first
-- 
2.16.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] block/blk-sysfs.c: Remove last reference of blk_init_queue
  2019-01-15  3:06 [PATCH] block/blk-sysfs.c: Remove last reference of blk_init_queue Marcos Paulo de Souza
@ 2019-01-15  3:54 ` Jens Axboe
  2019-01-15 10:29   ` Marcos Paulo de Souza
  0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2019-01-15  3:54 UTC (permalink / raw)
  To: Marcos Paulo de Souza, linux-kernel; +Cc: open list:BLOCK LAYER

On 1/14/19 8:06 PM, Marcos Paulo de Souza wrote:
> blk_init_queue was removed in a1ce35fa4985.

Honestly, most of that comment is wrong anyway. Since this isn't
a visible API, I'd just kill the comment completely.

> Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
> ---
>  There are more two references in Documentation/block/biodoc.txt, but maybe that
>  file needs a rewrite in rst anyway?

It probably needs a rewrite - period :-)

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] block/blk-sysfs.c: Remove last reference of blk_init_queue
  2019-01-15  3:54 ` Jens Axboe
@ 2019-01-15 10:29   ` Marcos Paulo de Souza
  0 siblings, 0 replies; 3+ messages in thread
From: Marcos Paulo de Souza @ 2019-01-15 10:29 UTC (permalink / raw)
  To: Jens Axboe, linux-kernel; +Cc: open list:BLOCK LAYER

[-- Attachment #1: Type: text/plain, Size: 680 bytes --]

HI Jeans,

On 1/15/19 1:54 AM, Jens Axboe wrote:
> On 1/14/19 8:06 PM, Marcos Paulo de Souza wrote:
>> blk_init_queue was removed in a1ce35fa4985.
> 
> Honestly, most of that comment is wrong anyway. Since this isn't
> a visible API, I'd just kill the comment completely.

I will send a v2 trying to describe better what the function does and
where it is used (or removed it completely as you suggested).

> 
>> Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
>> ---
>>  There are more two references in Documentation/block/biodoc.txt, but maybe that
>>  file needs a rewrite in rst anyway?
> 
> It probably needs a rewrite - period :-)
> 


[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 1817 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-15 10:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-15  3:06 [PATCH] block/blk-sysfs.c: Remove last reference of blk_init_queue Marcos Paulo de Souza
2019-01-15  3:54 ` Jens Axboe
2019-01-15 10:29   ` Marcos Paulo de Souza

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).