Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

NFS: nfsd-maintainer-entry-profile: Inline function name prefixes

Sphinx reports htmldocs warnings:

Documentation/filesystems/nfs/nfsd-maintainer-entry-profile.rst:185: ERROR: Unknown target name: "nfsd". [docutils]
Documentation/filesystems/nfs/nfsd-maintainer-entry-profile.rst:188: ERROR: Unknown target name: "nfsdn". [docutils]
Documentation/filesystems/nfs/nfsd-maintainer-entry-profile.rst:192: ERROR: Unknown target name: "nfsd4m". [docutils]

These are due to Sphinx confusing function name prefixes for external
link syntax. Fix the warnings by inlining the prefixes.

Fixes: 3a1ce35030e1e0 ("NFSD: Add a subsystem policy document")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/linux-next/20251117174218.29365f30@canb.auug.org.au/
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>

authored by

Bagas Sanjaya and committed by
Chuck Lever
8320b75b 3a1ce350

+3 -3
+3 -3
Documentation/filesystems/nfs/nfsd-maintainer-entry-profile.rst
··· 182 182 + static inline functions 183 183 + static functions that are callbacks/virtual functions 184 184 185 - - All new function names start with "nfsd_" for non-NFS-version- 185 + - All new function names start with ``nfsd_`` for non-NFS-version- 186 186 specific functions. 187 187 188 188 - New function names that are specific to NFSv2 or NFSv3, or are 189 - used by all minor versions of NFSv4, use "nfsdN_" where N is 189 + used by all minor versions of NFSv4, use ``nfsdN_`` where N is 190 190 the version. 191 191 192 192 - New function names specific to an NFSv4 minor version can be 193 - named with "nfsd4M_" where M is the minor version. 193 + named with ``nfsd4M_`` where M is the minor version. 194 194 195 195 Patch preparation 196 196 ~~~~~~~~~~~~~~~~~