porting: update locking requirements
authorChristian Brauner <brauner@kernel.org>
Wed, 18 Oct 2023 10:26:20 +0000 (12:26 +0200)
committerChristian Brauner <brauner@kernel.org>
Sat, 28 Oct 2023 11:29:23 +0000 (13:29 +0200)
Now that s_umount is never taken under open_mutex update the
documentation to say so.

Link: https://lore.kernel.org/r/20231017184823.1383356-1-hch@lst.de
Signed-off-by: Christian Brauner <brauner@kernel.org>
Documentation/filesystems/porting.rst

index 4d05b9862451ea8237c583b5f276b1834ee4adb9..d69f59700a23359077b94ac126d1e714967e6982 100644 (file)
@@ -1045,3 +1045,10 @@ filesystem type is now moved to a later point when the devices are closed:
 As this is a VFS level change it has no practical consequences for filesystems
 other than that all of them must use one of the provided kill_litter_super(),
 kill_anon_super(), or kill_block_super() helpers.
+
+---
+
+**mandatory**
+
+Lock ordering has been changed so that s_umount ranks above open_mutex again.
+All places where s_umount was taken under open_mutex have been fixed up.