All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Linux FS Devel <linux-fsdevel@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>
Cc: David Howells <dhowells@redhat.com>,
	Al Viro <viro@zeniv.linux.org.uk>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>
Subject: [PATCH -next] vfs: fix typos etc. in Documentation/filesystems/mount_api.txt
Date: Sat, 1 Dec 2018 13:03:45 -0800	[thread overview]
Message-ID: <8a522bc9-5964-7fd7-9920-32920185ffd7@infradead.org> (raw)

From: Randy Dunlap <rdunlap@infradead.org>

Fix typos, grammar, missing '_'s in mount_api.txt.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
---
Also, is this meant to be "baz" or "bar"?

	static const struct constant_table afs_param_keys[] = {
		{ "baz",	Opt_bar },
		{ "dynamic",	Opt_dyn },
	};

 Documentation/filesystems/mount_api.txt |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

--- linux-next-20181130.orig/Documentation/filesystems/mount_api.txt
+++ linux-next-20181130/Documentation/filesystems/mount_api.txt
@@ -258,7 +258,7 @@ manage the filesystem context.  They are
  (*) int (*validate)(struct fs_context *fc);
 
      Called when all the options have been applied and the mount is about to
-     take place.  It is should check for inconsistencies from mount options and
+     take place.  It should check for inconsistencies from mount options and
      it is also allowed to do preliminary resource acquisition.  For instance,
      the core NFS module could load the NFS protocol module here.
 
@@ -438,7 +438,7 @@ returned.
  (*) int vfs_parse_fs_param(struct fs_context *fc,
 			    struct fs_parameter *param);
 
-     Supply a single mount parameter to the filesystem context.  This include
+     Supply a single mount parameter to the filesystem context.  This includes
      the specification of the source/device which is specified as the "source"
      parameter (which may be specified multiple times if the filesystem
      supports that).
@@ -533,7 +533,7 @@ The members are as follows:
      used in the values that the ->keys[] array maps to.
 
      It is expected that, for example, two parameters that are related, say
-     "acl" and "noacl" with have the same ID, but will be flagged to indicate
+     "acl" and "noacl" will have the same ID, but will be flagged to indicate
      that one is the inverse of the other.  The value can then be picked out
      from the parse result.
 
@@ -574,9 +574,9 @@ The members are as follows:
      For example:
 
 	static const struct fs_parameter_spec afs_param_specs[nr__afs_params] = {
-		[Opt_autocell]	= { fs_param_is flag },
+		[Opt_autocell]	= { fs_param_is_flag },
 		[Opt_bar]	= { fs_param_is_enum },
-		[Opt_dyn]	= { fs_param_is flag },
+		[Opt_dyn]	= { fs_param_is_flag },
 		[Opt_foo]	= { fs_param_is_bool, fs_param_neg_with_no },
 		[Opt_source]	= { fs_param_is_string },
 	};
@@ -725,7 +725,7 @@ process the parameters it is given.
 
  (*) bool fs_validate_description(const struct fs_parameter_description *desc);
 
-     This is validates the parameter description.  It returns true if the
+     This validates the parameter description.  It returns true if the
      description is good and false if it is not.
 
  (*) int fs_lookup_param(struct fs_context *fc,



                 reply	other threads:[~2018-12-01 21:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8a522bc9-5964-7fd7-9920-32920185ffd7@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=dhowells@redhat.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.