diff options
| author | Christian Brauner <[email protected]> | 2023-10-24 15:01:16 +0200 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-11-18 14:59:24 +0100 |
| commit | e419cf3ebaee694a826ddcfb350f1b1ebaf1e599 (patch) | |
| tree | 38f4085690b11056e876be468f0b9329eddab94b /include/linux | |
| parent | 01bc8e9ae23a4257e12c87f5caa0f21034e7b40b (diff) | |
blkdev: comment fs_holder_ops
Add a comment to @fs_holder_ops that @holder must point to a superblock.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Darrick J. Wong <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/blkdev.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 1bc776335ff8..abf71cce785c 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -1480,6 +1480,11 @@ struct blk_holder_ops { int (*thaw)(struct block_device *bdev); }; +/* + * For filesystems using @fs_holder_ops, the @holder argument passed to + * helpers used to open and claim block devices via + * bd_prepare_to_claim() must point to a superblock. + */ extern const struct blk_holder_ops fs_holder_ops; /* |