linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] locking: fcntl.h: drop duplicated word in a comment
@ 2020-07-18  2:54 Randy Dunlap
  2020-07-18  3:19 ` Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2020-07-18  2:54 UTC (permalink / raw)
  To: LKML, Linux FS Devel, J. Bruce Fields

From: Randy Dunlap <rdunlap@infradead.org>

Drop the doubled word "the" in a comment.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jeff Layton <jlayton@kernel.org>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: linux-fsdevel@vger.kernel.org
---
 include/uapi/asm-generic/fcntl.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20200714.orig/include/uapi/asm-generic/fcntl.h
+++ linux-next-20200714/include/uapi/asm-generic/fcntl.h
@@ -143,7 +143,7 @@
  * record  locks, but are "owned" by the open file description, not the
  * process. This means that they are inherited across fork() like BSD (flock)
  * locks, and they are only released automatically when the last reference to
- * the the open file against which they were acquired is put.
+ * the open file against which they were acquired is put.
  */
 #define F_OFD_GETLK	36
 #define F_OFD_SETLK	37


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] locking: fcntl.h: drop duplicated word in a comment
  2020-07-18  2:54 [PATCH] locking: fcntl.h: drop duplicated word in a comment Randy Dunlap
@ 2020-07-18  3:19 ` Matthew Wilcox
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Wilcox @ 2020-07-18  3:19 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: LKML, Linux FS Devel, J. Bruce Fields

On Fri, Jul 17, 2020 at 07:54:13PM -0700, Randy Dunlap wrote:
> +++ linux-next-20200714/include/uapi/asm-generic/fcntl.h
> @@ -143,7 +143,7 @@
>   * record  locks, but are "owned" by the open file description, not the
>   * process. This means that they are inherited across fork() like BSD (flock)
>   * locks, and they are only released automatically when the last reference to
> - * the the open file against which they were acquired is put.
> + * the open file against which they were acquired is put.

This is the kind of sentence up with which I shall not put!

How about "This means that they are inherited across fork() like BSD
  (flock) locks, and they are automatically released when the last
  reference is released for the file they were acquired against.

Even that is a bit too convoluted for my tastes.  Better suggestions
welcome.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-18  3:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-18  2:54 [PATCH] locking: fcntl.h: drop duplicated word in a comment Randy Dunlap
2020-07-18  3:19 ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).