docs: filesystems: add fs/open.c to api-summary
Subsystems (2)
Randy Dunlap
reviewerPATCH 1/1 docs: filesystems: add fs/open.c to api-summary
Include fs/open.c in filesystems/api-summary.rst to provide its exported APIs.
---
Cc: Jonathan Corbet <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: [email protected]
Documentation/filesystems/api-summary.rst | 3 +++ 1 file changed, 3 insertions(+)
Documentation/filesystems/api-summary.rst +3 -0
@@ -56,6 +56,9 @@ Other Functions .. kernel-doc:: fs/namei.c :export: +.. kernel-doc:: fs/open.c + :export: + .. kernel-doc:: block/bio.c :export:
Quoted 6 lines · Randy Dunlap
Include
fs/open.cinfilesystems/api-summary.rstto provide its exported APIs.Suggested-by Matthew Wilcox <[email protected]>Signed-off-by Randy Dunlap <[email protected]>---
Jonathan Corbet
maintainerQuoted 17 lines · Randy Dunlap
Include
fs/open.cinfilesystems/api-summary.rstto provide its exported APIs.Suggested-by Matthew Wilcox <[email protected]>Signed-off-by Randy Dunlap <[email protected]>---
Cc: Jonathan Corbet <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: [email protected]Documentation/filesystems/api-summary.rst | 3 +++ 1 file changed, 3 insertions(+)
Documentation/filesystems/api-summary.rst Other Functions · line 61
Quoted 6 lines
Documentation/filesystems/api-summary.rst +3
-0@@ -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
Randy Dunlap
reviewerQuoted 28 lines · Jonathan Corbet
Quoted 17 lines · Randy Dunlap
Include
fs/open.cinfilesystems/api-summary.rstto provide its exported APIs.Suggested-by Matthew Wilcox <[email protected]>Signed-off-by Randy Dunlap <[email protected]>---
Cc: Jonathan Corbet <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: [email protected]Documentation/filesystems/api-summary.rst | 3 +++ 1 file changed, 3 insertions(+)Documentation/filesystems/api-summary.rst Other Functions · line 61
Quoted 6 lines
Documentation/filesystems/api-summary.rst +3
-0@@ -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:
Quoted 4 lines
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.
Signature · 1 line
~Randy
Randy Dunlap
reviewerQuoted 31 lines · Randy Dunlap
Quoted 28 lines · Jonathan Corbet
Quoted 17 lines · Randy Dunlap
Include
fs/open.cinfilesystems/api-summary.rstto provide its exported APIs.Suggested-by Matthew Wilcox <[email protected]>Signed-off-by Randy Dunlap <[email protected]>---
Cc: Jonathan Corbet <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: [email protected]Documentation/filesystems/api-summary.rst | 3 +++ 1 file changed, 3 insertions(+)Documentation/filesystems/api-summary.rst Other Functions · line 61
Quoted 6 lines
Documentation/filesystems/api-summary.rst +3
-0@@ -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:
Quoted 8 lines
Quoted 4 lines
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 <[email protected]> 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.
Signature · 1 line
~Randy
Jonathan Corbet
maintainerQuoted 6 lines · Randy Dunlap
Seems I was confused with
fs/namei.c, where I see similar warnings. I don't see those warnings infs/open.c.I'm using today's linux-next tree, where the latest change to
fs/open.cis:
ommit750d2f1f7b5c
Quoted 8 lines
Author: Al Viro <[email protected]> Date: Sun Dec 14 03:13:59 2025 -0500chroot(2): switch to CLASS(filename)
Do you have something later (newer) than that?
Also, at
fs/open.clines 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
Randy Dunlap
reviewerQuoted 12 lines · Jonathan Corbet
Quoted 10 lines · Randy Dunlap
Seems I was confused with
fs/namei.c, where I see similar warnings. I don't see those warnings infs/open.c.I'm using today's linux-next tree, where the latest change to
fs/open.cis:
ommit750d2f1f7b5cAuthor: Al Viro <[email protected]> Date: Sun Dec 14 03:13:59 2025 -0500chroot(2): switch to CLASS(filename)
Quoted 8 lines
Quoted 4 lines
Do you have something later (newer) than that?
Also, at
fs/open.clines 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 tonamei.c...
2 patches have been sent for these warnings:
2025-12-19:
https://lore.kernel.org/all/[email protected]/
2025-12-31:
https://lore.kernel.org/all/[email protected]/
Signature · 1 line
~Randy
Randy Dunlap
reviewerQuoted 24 lines · Randy Dunlap
Quoted 12 lines · Jonathan Corbet
Quoted 10 lines · Randy Dunlap
Seems I was confused with
fs/namei.c, where I see similar warnings. I don't see those warnings infs/open.c.I'm using today's linux-next tree, where the latest change to
fs/open.cis:
ommit750d2f1f7b5cAuthor: Al Viro <[email protected]> Date: Sun Dec 14 03:13:59 2025 -0500chroot(2): switch to CLASS(filename)
Quoted 8 lines
Quoted 4 lines
Do you have something later (newer) than that?
Also, at
fs/open.clines 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 tonamei.c...
Quoted 8 lines
2 patches have been sent for these warnings:
Oh, so a third option was merged.
https://lore.kernel.org/all/[email protected]/
I only care for backporting reasons:
https://lore.kernel.org/linux-doc/[email protected]/
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).
Signature · 1 line
~Randy