Skip to content

Commit 5aa9130

Browse files
committed
porting: update locking requirements
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>
1 parent 3b224e1 commit 5aa9130

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Documentation/filesystems/porting.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,3 +1045,10 @@ filesystem type is now moved to a later point when the devices are closed:
10451045
As this is a VFS level change it has no practical consequences for filesystems
10461046
other than that all of them must use one of the provided kill_litter_super(),
10471047
kill_anon_super(), or kill_block_super() helpers.
1048+
1049+
---
1050+
1051+
**mandatory**
1052+
1053+
Lock ordering has been changed so that s_umount ranks above open_mutex again.
1054+
All places where s_umount was taken under open_mutex have been fixed up.

0 commit comments

Comments
 (0)