summaryrefslogtreecommitdiff
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-05-03 00:36:32 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2024-05-03 00:39:44 +0300
commitd18a8679581e8d1166b68e211d16c5349ae8c38c (patch)
treeefdb0b8ed78c16bb97ce8ed3ae0576bec29278f7 /Documentation/filesystems
parentead083aeeed9df44fab9227e47688f7305c3a233 (diff)
downloadlinux-d18a8679581e8d1166b68e211d16c5349ae8c38c.tar.xz
make set_blocksize() fail unless block device is opened exclusive
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/porting.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/filesystems/porting.rst b/Documentation/filesystems/porting.rst
index 1be76ef117b3..5503d5c614a7 100644
--- a/Documentation/filesystems/porting.rst
+++ b/Documentation/filesystems/porting.rst
@@ -1134,3 +1134,10 @@ superblock of the main block device, i.e., the one stored in sb->s_bdev. Block
device freezing now works for any block device owned by a given superblock, not
just the main block device. The get_active_super() helper and bd_fsfreeze_sb
pointer are gone.
+
+---
+
+**mandatory**
+
+set_blocksize() takes opened struct file instead of struct block_device now
+and it *must* be opened exclusive.