]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
docs: fix trailing whitespace error and remove repeated words in propagate_umount.txt
authorRaphael Pinsonneault-Thibeault <rpthibeault@gmail.com>
Mon, 18 Aug 2025 18:19:34 +0000 (14:19 -0400)
committerJonathan Corbet <corbet@lwn.net>
Thu, 21 Aug 2025 18:49:01 +0000 (12:49 -0600)
in Documentation/filesystems/propagate_umount.txt:
line 289: remove whitespace on blank line
line 315: remove duplicate "that"
line 364: remove duplicate "in"

Signed-off-by: Raphael Pinsonneault-Thibeault <rpthibeault@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250818181934.55491-2-rpthibeault@gmail.com
Documentation/filesystems/propagate_umount.txt

index c90349e5b889fbc1e16742f1c4d64da8650496c7..9a7eb96df300e9ff021029d8d483e0c647baf60f 100644 (file)
@@ -286,7 +286,7 @@ Trim_one(m)
                strip the "seen by Trim_ancestors" mark from m
                remove m from the Candidates list
                return
-               
+
        remove_this = false
        found = false
        for each n in children(m)
@@ -312,7 +312,7 @@ Trim_ancestors(m)
        }
 
        Terminating condition in the loop in Trim_ancestors() is correct,
-since that that loop will never run into p belonging to U - p is always
+since that loop will never run into p belonging to U - p is always
 an ancestor of argument of Trim_one() and since U is closed, the argument
 of Trim_one() would also have to belong to U.  But Trim_one() is never
 called for elements of U.  In other words, p belongs to S if and only
@@ -361,7 +361,7 @@ such removals.
 Proof: suppose S was non-shifting, x is a locked element of S, parent of x
 is not in S and S - {x} is not non-shifting.  Then there is an element m
 in S - {x} and a subtree mounted strictly inside m, such that m contains
-an element not in in S - {x}.  Since S is non-shifting, everything in
+an element not in S - {x}.  Since S is non-shifting, everything in
 that subtree must belong to S.  But that means that this subtree must
 contain x somewhere *and* that parent of x either belongs that subtree
 or is equal to m.  Either way it must belong to S.  Contradiction.