diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-05-03 00:36:32 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2024-05-03 00:39:44 +0300 |
commit | d18a8679581e8d1166b68e211d16c5349ae8c38c (patch) | |
tree | efdb0b8ed78c16bb97ce8ed3ae0576bec29278f7 /Documentation | |
parent | ead083aeeed9df44fab9227e47688f7305c3a233 (diff) | |
download | linux-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')
-rw-r--r-- | Documentation/filesystems/porting.rst | 7 |
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. |