public inbox for linux-doc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] docs: filesystems: add fs/open.c to api-summary
@ 2026-01-04 20:45 Randy Dunlap
  2026-01-06 21:50 ` Christian Brauner
  2026-01-16 18:40 ` Jonathan Corbet
  0 siblings, 2 replies; 8+ messages in thread
From: Randy Dunlap @ 2026-01-04 20:45 UTC (permalink / raw)
  To: linux-doc
  Cc: Randy Dunlap, Matthew Wilcox, Jonathan Corbet, Alexander Viro,
	Christian Brauner, linux-fsdevel

Include fs/open.c in filesystems/api-summary.rst to provide its
exported APIs.

Suggested-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: linux-fsdevel@vger.kernel.org

 Documentation/filesystems/api-summary.rst |    3 +++
 1 file changed, 3 insertions(+)

--- linux-next-20251219.orig/Documentation/filesystems/api-summary.rst
+++ linux-next-20251219/Documentation/filesystems/api-summary.rst
@@ -56,6 +56,9 @@ Other Functions
 .. kernel-doc:: fs/namei.c
    :export:
 
+.. kernel-doc:: fs/open.c
+   :export:
+
 .. kernel-doc:: block/bio.c
    :export:
 

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

* Re: [PATCH] docs: filesystems: add fs/open.c to api-summary
  2026-01-04 20:45 [PATCH] docs: filesystems: add fs/open.c to api-summary Randy Dunlap
@ 2026-01-06 21:50 ` Christian Brauner
  2026-01-16 18:40 ` Jonathan Corbet
  1 sibling, 0 replies; 8+ messages in thread
From: Christian Brauner @ 2026-01-06 21:50 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: linux-doc, Matthew Wilcox, Jonathan Corbet, Alexander Viro,
	linux-fsdevel

On Sun, Jan 04, 2026 at 12:45:30PM -0800, Randy Dunlap wrote:
> Include fs/open.c in filesystems/api-summary.rst to provide its
> exported APIs.
> 
> Suggested-by: Matthew Wilcox <willy@infradead.org>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---

Reviewed-by: Christian Brauner <brauner@kernel.org>

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

* Re: [PATCH] docs: filesystems: add fs/open.c to api-summary
  2026-01-04 20:45 [PATCH] docs: filesystems: add fs/open.c to api-summary Randy Dunlap
  2026-01-06 21:50 ` Christian Brauner
@ 2026-01-16 18:40 ` Jonathan Corbet
  2026-01-16 18:46   ` Randy Dunlap
  1 sibling, 1 reply; 8+ messages in thread
From: Jonathan Corbet @ 2026-01-16 18:40 UTC (permalink / raw)
  To: Randy Dunlap, linux-doc
  Cc: Randy Dunlap, Matthew Wilcox, Alexander Viro, Christian Brauner,
	linux-fsdevel

Randy Dunlap <rdunlap@infradead.org> writes:

> Include fs/open.c in filesystems/api-summary.rst to provide its
> exported APIs.
>
> Suggested-by: Matthew Wilcox <willy@infradead.org>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: Alexander Viro <viro@zeniv.linux.org.uk>
> Cc: Christian Brauner <brauner@kernel.org>
> Cc: linux-fsdevel@vger.kernel.org
>
>  Documentation/filesystems/api-summary.rst |    3 +++
>  1 file changed, 3 insertions(+)
>
> --- linux-next-20251219.orig/Documentation/filesystems/api-summary.rst
> +++ linux-next-20251219/Documentation/filesystems/api-summary.rst
> @@ -56,6 +56,9 @@ Other Functions
>  .. kernel-doc:: fs/namei.c
>     :export:
>  
> +.. kernel-doc:: fs/open.c
> +   :export:
> +

So I've applied this, but it does add a couple of new warnings:

  Documentation/filesystems/api-summary:59: ./fs/open.c:1157: WARNING: Inline emphasis start-string without end-string. [docutils]
  Documentation/filesystems/api-summary:59: ./fs/open.c:1147: ERROR: Unknown target name: "o". [docutils]

It would be nice to get those fixed up.

Thanks,

jon

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

* Re: [PATCH] docs: filesystems: add fs/open.c to api-summary
  2026-01-16 18:40 ` Jonathan Corbet
@ 2026-01-16 18:46   ` Randy Dunlap
  2026-01-16 19:23     ` Randy Dunlap
  0 siblings, 1 reply; 8+ messages in thread
From: Randy Dunlap @ 2026-01-16 18:46 UTC (permalink / raw)
  To: Jonathan Corbet, linux-doc
  Cc: Matthew Wilcox, Alexander Viro, Christian Brauner, linux-fsdevel



On 1/16/26 10:40 AM, Jonathan Corbet wrote:
> Randy Dunlap <rdunlap@infradead.org> writes:
> 
>> Include fs/open.c in filesystems/api-summary.rst to provide its
>> exported APIs.
>>
>> Suggested-by: Matthew Wilcox <willy@infradead.org>
>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>> ---
>> Cc: Jonathan Corbet <corbet@lwn.net>
>> Cc: Alexander Viro <viro@zeniv.linux.org.uk>
>> Cc: Christian Brauner <brauner@kernel.org>
>> Cc: linux-fsdevel@vger.kernel.org
>>
>>  Documentation/filesystems/api-summary.rst |    3 +++
>>  1 file changed, 3 insertions(+)
>>
>> --- linux-next-20251219.orig/Documentation/filesystems/api-summary.rst
>> +++ linux-next-20251219/Documentation/filesystems/api-summary.rst
>> @@ -56,6 +56,9 @@ Other Functions
>>  .. kernel-doc:: fs/namei.c
>>     :export:
>>  
>> +.. kernel-doc:: fs/open.c
>> +   :export:
>> +
> 
> So I've applied this, but it does add a couple of new warnings:
> 
>   Documentation/filesystems/api-summary:59: ./fs/open.c:1157: WARNING: Inline emphasis start-string without end-string. [docutils]
>   Documentation/filesystems/api-summary:59: ./fs/open.c:1147: ERROR: Unknown target name: "o". [docutils]
> 
> It would be nice to get those fixed up.

Will do. Seems like I tweaked those already. I'll check.

thanks.
-- 
~Randy


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

* Re: [PATCH] docs: filesystems: add fs/open.c to api-summary
  2026-01-16 18:46   ` Randy Dunlap
@ 2026-01-16 19:23     ` Randy Dunlap
  2026-01-16 19:27       ` Jonathan Corbet
  0 siblings, 1 reply; 8+ messages in thread
From: Randy Dunlap @ 2026-01-16 19:23 UTC (permalink / raw)
  To: Jonathan Corbet, linux-doc
  Cc: Matthew Wilcox, Alexander Viro, Christian Brauner, linux-fsdevel



On 1/16/26 10:46 AM, Randy Dunlap wrote:
> 
> 
> On 1/16/26 10:40 AM, Jonathan Corbet wrote:
>> Randy Dunlap <rdunlap@infradead.org> writes:
>>
>>> Include fs/open.c in filesystems/api-summary.rst to provide its
>>> exported APIs.
>>>
>>> Suggested-by: Matthew Wilcox <willy@infradead.org>
>>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>>> ---
>>> Cc: Jonathan Corbet <corbet@lwn.net>
>>> Cc: Alexander Viro <viro@zeniv.linux.org.uk>
>>> Cc: Christian Brauner <brauner@kernel.org>
>>> Cc: linux-fsdevel@vger.kernel.org
>>>
>>>  Documentation/filesystems/api-summary.rst |    3 +++
>>>  1 file changed, 3 insertions(+)
>>>
>>> --- linux-next-20251219.orig/Documentation/filesystems/api-summary.rst
>>> +++ linux-next-20251219/Documentation/filesystems/api-summary.rst
>>> @@ -56,6 +56,9 @@ Other Functions
>>>  .. kernel-doc:: fs/namei.c
>>>     :export:
>>>  
>>> +.. kernel-doc:: fs/open.c
>>> +   :export:
>>> +
>>
>> So I've applied this, but it does add a couple of new warnings:
>>
>>   Documentation/filesystems/api-summary:59: ./fs/open.c:1157: WARNING: Inline emphasis start-string without end-string. [docutils]
>>   Documentation/filesystems/api-summary:59: ./fs/open.c:1147: ERROR: Unknown target name: "o". [docutils]
>>
>> It would be nice to get those fixed up.
> 
> Will do. Seems like I tweaked those already. I'll check.
> 
> thanks.

Seems I was confused with fs/namei.c, where I see similar warnings.
I don't see those warnings in fs/open.c.

I'm using today's linux-next tree, where the latest change to
fs/open.c is:
ommit 750d2f1f7b5c
Author: Al Viro <viro@zeniv.linux.org.uk>
Date:   Sun Dec 14 03:13:59 2025 -0500
    chroot(2): switch to CLASS(filename)

Do you have something later (newer) than that?

Also, at fs/open.c lines 1147-1157, I don't see anything that would
cause docs warnings.

Ideas?

thanks.
-- 
~Randy


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

* Re: [PATCH] docs: filesystems: add fs/open.c to api-summary
  2026-01-16 19:23     ` Randy Dunlap
@ 2026-01-16 19:27       ` Jonathan Corbet
  2026-01-16 22:24         ` Randy Dunlap
  0 siblings, 1 reply; 8+ messages in thread
From: Jonathan Corbet @ 2026-01-16 19:27 UTC (permalink / raw)
  To: Randy Dunlap, linux-doc
  Cc: Matthew Wilcox, Alexander Viro, Christian Brauner, linux-fsdevel

Randy Dunlap <rdunlap@infradead.org> writes:

> Seems I was confused with fs/namei.c, where I see similar warnings.
> I don't see those warnings in fs/open.c.
>
> I'm using today's linux-next tree, where the latest change to
> fs/open.c is:
> ommit 750d2f1f7b5c
> Author: Al Viro <viro@zeniv.linux.org.uk>
> Date:   Sun Dec 14 03:13:59 2025 -0500
>     chroot(2): switch to CLASS(filename)
>
> Do you have something later (newer) than that?
>
> Also, at fs/open.c lines 1147-1157, I don't see anything that would
> cause docs warnings.

No, docs-next is older - based on -rc2.  It seems that linux-next has
significantly thrashed thing there, and the offending function
(dentry_create()) moved to namei.c...

jon

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

* Re: [PATCH] docs: filesystems: add fs/open.c to api-summary
  2026-01-16 19:27       ` Jonathan Corbet
@ 2026-01-16 22:24         ` Randy Dunlap
  2026-01-21 23:26           ` Randy Dunlap
  0 siblings, 1 reply; 8+ messages in thread
From: Randy Dunlap @ 2026-01-16 22:24 UTC (permalink / raw)
  To: Jonathan Corbet, linux-doc
  Cc: Matthew Wilcox, Alexander Viro, Christian Brauner, linux-fsdevel



On 1/16/26 11:27 AM, Jonathan Corbet wrote:
> Randy Dunlap <rdunlap@infradead.org> writes:
> 
>> Seems I was confused with fs/namei.c, where I see similar warnings.
>> I don't see those warnings in fs/open.c.
>>
>> I'm using today's linux-next tree, where the latest change to
>> fs/open.c is:
>> ommit 750d2f1f7b5c
>> Author: Al Viro <viro@zeniv.linux.org.uk>
>> Date:   Sun Dec 14 03:13:59 2025 -0500
>>     chroot(2): switch to CLASS(filename)
>>
>> Do you have something later (newer) than that?
>>
>> Also, at fs/open.c lines 1147-1157, I don't see anything that would
>> cause docs warnings.
> 
> No, docs-next is older - based on -rc2.  It seems that linux-next has
> significantly thrashed thing there, and the offending function
> (dentry_create()) moved to namei.c...

2 patches have been sent for these warnings:

2025-12-19:
https://lore.kernel.org/all/20251219-dentry-inline-v2-1-c074b5bfb3a6@gmail.com/

2025-12-31:
https://lore.kernel.org/all/20251231153851.7523-1-krishnagopi487@gmail.com/


-- 
~Randy


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

* Re: [PATCH] docs: filesystems: add fs/open.c to api-summary
  2026-01-16 22:24         ` Randy Dunlap
@ 2026-01-21 23:26           ` Randy Dunlap
  0 siblings, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2026-01-21 23:26 UTC (permalink / raw)
  To: Jonathan Corbet, linux-doc
  Cc: Matthew Wilcox, Alexander Viro, Christian Brauner, linux-fsdevel



On 1/16/26 2:24 PM, Randy Dunlap wrote:
> 
> 
> On 1/16/26 11:27 AM, Jonathan Corbet wrote:
>> Randy Dunlap <rdunlap@infradead.org> writes:
>>
>>> Seems I was confused with fs/namei.c, where I see similar warnings.
>>> I don't see those warnings in fs/open.c.
>>>
>>> I'm using today's linux-next tree, where the latest change to
>>> fs/open.c is:
>>> ommit 750d2f1f7b5c
>>> Author: Al Viro <viro@zeniv.linux.org.uk>
>>> Date:   Sun Dec 14 03:13:59 2025 -0500
>>>     chroot(2): switch to CLASS(filename)
>>>
>>> Do you have something later (newer) than that?
>>>
>>> Also, at fs/open.c lines 1147-1157, I don't see anything that would
>>> cause docs warnings.
>>
>> No, docs-next is older - based on -rc2.  It seems that linux-next has
>> significantly thrashed thing there, and the offending function
>> (dentry_create()) moved to namei.c...
> 
> 2 patches have been sent for these warnings:
> 
> 2025-12-19:
> https://lore.kernel.org/all/20251219-dentry-inline-v2-1-c074b5bfb3a6@gmail.com/
> 
> 2025-12-31:
> https://lore.kernel.org/all/20251231153851.7523-1-krishnagopi487@gmail.com/
> 

Oh, so a third option was merged.
https://lore.kernel.org/all/20260118110401.2651-1-jaybenjaminwinston@gmail.com/

I only care for backporting reasons:
https://lore.kernel.org/linux-doc/202601211140.pWd7ohTh-lkp@intel.com/

since I am being blamed for some new warnings and these patches fix them (except
that they have been moved from fs/open.c to fs/namei.c).


-- 
~Randy


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

end of thread, other threads:[~2026-01-21 23:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-04 20:45 [PATCH] docs: filesystems: add fs/open.c to api-summary Randy Dunlap
2026-01-06 21:50 ` Christian Brauner
2026-01-16 18:40 ` Jonathan Corbet
2026-01-16 18:46   ` Randy Dunlap
2026-01-16 19:23     ` Randy Dunlap
2026-01-16 19:27       ` Jonathan Corbet
2026-01-16 22:24         ` Randy Dunlap
2026-01-21 23:26           ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox