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

docs: fix trailing whitespace error and remove repeated words in propagate_umount.txt

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

authored by

Raphael Pinsonneault-Thibeault and committed by
Jonathan Corbet
41ecad8b 4cc7dce7

+3 -3
+3 -3
Documentation/filesystems/propagate_umount.txt
··· 286 286 strip the "seen by Trim_ancestors" mark from m 287 287 remove m from the Candidates list 288 288 return 289 - 289 + 290 290 remove_this = false 291 291 found = false 292 292 for each n in children(m) ··· 312 312 } 313 313 314 314 Terminating condition in the loop in Trim_ancestors() is correct, 315 - since that that loop will never run into p belonging to U - p is always 315 + since that loop will never run into p belonging to U - p is always 316 316 an ancestor of argument of Trim_one() and since U is closed, the argument 317 317 of Trim_one() would also have to belong to U. But Trim_one() is never 318 318 called for elements of U. In other words, p belongs to S if and only ··· 361 361 Proof: suppose S was non-shifting, x is a locked element of S, parent of x 362 362 is not in S and S - {x} is not non-shifting. Then there is an element m 363 363 in S - {x} and a subtree mounted strictly inside m, such that m contains 364 - an element not in in S - {x}. Since S is non-shifting, everything in 364 + an element not in S - {x}. Since S is non-shifting, everything in 365 365 that subtree must belong to S. But that means that this subtree must 366 366 contain x somewhere *and* that parent of x either belongs that subtree 367 367 or is equal to m. Either way it must belong to S. Contradiction.