projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01bc8e9
)
blkdev: comment fs_holder_ops
author
Christian Brauner
<brauner@kernel.org>
Tue, 24 Oct 2023 13:01:16 +0000
(15:01 +0200)
committer
Christian Brauner
<brauner@kernel.org>
Sat, 18 Nov 2023 13:59:24 +0000
(14:59 +0100)
Add a comment to @fs_holder_ops that @holder must point to a superblock.
Link:
https://lore.kernel.org/r/20231024-vfs-super-freeze-v2-10-599c19f4faac@kernel.org
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
include/linux/blkdev.h
patch
|
blob
|
history
diff --git
a/include/linux/blkdev.h
b/include/linux/blkdev.h
index 1bc776335ff896c126f20adf1da92275599b12b5..abf71cce785c28b53046893845d5fd6a56a5d585 100644
(file)
--- 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;
/*