summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2024-11-25 13:50:21 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-14 19:48:04 +0100
commit70f1bad32127d31fc9a01ea6263142469b25eb2f (patch)
treefb6b7ec96d7e081561dac36beadbacdd778da2ed /Documentation
parent0918f5643fc6c3f7801f4a22397d2cc09ba99207 (diff)
downloadlinux-70f1bad32127d31fc9a01ea6263142469b25eb2f.tar.gz
linux-70f1bad32127d31fc9a01ea6263142469b25eb2f.tar.bz2
linux-70f1bad32127d31fc9a01ea6263142469b25eb2f.zip
fs_parser: update mount_api doc to match function signature
[ Upstream commit c66f759832a83cb273ba5a55c66dcc99384efa74 ] Add the missing 'name' parameter to the mount_api documentation for fs_validate_description(). Fixes: 96cafb9ccb15 ("fs_parser: remove fs_parameter_description name field") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20241125215021.231758-1-rdunlap@infradead.org Cc: Eric Sandeen <sandeen@redhat.com> Cc: David Howells <dhowells@redhat.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Christian Brauner <brauner@kernel.org> Cc: Jan Kara <jack@suse.cz> Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/filesystems/mount_api.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/filesystems/mount_api.rst b/Documentation/filesystems/mount_api.rst
index d7f53d62b5bb..8fb03f57546d 100644
--- a/Documentation/filesystems/mount_api.rst
+++ b/Documentation/filesystems/mount_api.rst
@@ -778,7 +778,8 @@ process the parameters it is given.
* ::
- bool fs_validate_description(const struct fs_parameter_description *desc);
+ bool fs_validate_description(const char *name,
+ const struct fs_parameter_description *desc);
This performs some validation checks on a parameter description. It
returns true if the description is good and false if it is not. It will