diff options
author | Christian Brauner <brauner@kernel.org> | 2023-08-29 18:23:56 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-08-31 13:47:15 +0300 |
commit | 69881be3d9a00cca770886af40913cfc5274b2d0 (patch) | |
tree | 124dadc371d6a72d61bd0da37b8d23abf8731d95 /include | |
parent | b97d64c722598ffed42ece814a2cb791336c6679 (diff) | |
download | linux-69881be3d9a00cca770886af40913cfc5274b2d0.tar.xz |
fs: export sget_dev()
They will be used for mtd devices as well.
Acked-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Jan Kara <jack@suse.cz>
Message-Id: <20230829-vfs-super-mtd-v1-1-fecb572e5df3@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index c8ff4156a0a1..4aeb3fa11927 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2397,6 +2397,7 @@ struct super_block *sget(struct file_system_type *type, int (*test)(struct super_block *,void *), int (*set)(struct super_block *,void *), int flags, void *data); +struct super_block *sget_dev(struct fs_context *fc, dev_t dev); /* Alas, no aliases. Too much hassle with bringing module.h everywhere */ #define fops_get(fops) \ |