Skip to contentSkip to conversation

docs: filesystems: add fs/open.c to api-summary

PATCH In review Randy Dunlap 3 participants 8 messages Jan 4 – Jan 21

Subsystems (2)
lore
Share & tools
lore

Randy Dunlap

author reviewer
#0 lore raw

PATCH 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:
 
maintainer
#2 lore raw
In reply to Randy Dunlap
Quoted 17 lines · Randy Dunlap

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 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

author reviewer
#3 lore raw
Quoted 28 lines · Jonathan Corbet
Quoted 17 lines · Randy Dunlap

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 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
author reviewer
#4 lore raw
Quoted 31 lines · Randy Dunlap
Quoted 28 lines · Jonathan Corbet
Quoted 17 lines · Randy Dunlap

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 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
maintainer
#5 lore raw
Quoted 6 lines · Randy Dunlap

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

Quoted 8 lines
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.

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

author reviewer
#6 lore raw
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 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)

Quoted 8 lines
Quoted 4 lines

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/[email protected]/

2025-12-31:
https://lore.kernel.org/all/[email protected]/

Signature · 1 line
~Randy
author reviewer
#7 lore raw
Quoted 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 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)

Quoted 8 lines
Quoted 4 lines

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...

Quoted 8 lines

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]/

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