summaryrefslogtreecommitdiff
path: root/include/linux/pseudo_fs.h
diff options
context:
space:
mode:
authorErin Shepherd <erin.shepherd@e43.eu>2024-11-29 14:38:00 +0100
committerChristian Brauner <brauner@kernel.org>2024-12-14 12:40:40 +0100
commitd2ab36bb115b720c9c738184d4007e1ca01c53da (patch)
tree0738448a798b541b22e79263d1a75bda1602197d /include/linux/pseudo_fs.h
parentd8b47d051eab9729417ea35d3c27fbe8ebd9f5c6 (diff)
pseudofs: add support for export_ops
Pseudo-filesystems might reasonably wish to implement the export ops (particularly for name_to_handle_at/open_by_handle_at); plumb this through pseudo_fs_context Reviewed-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Erin Shepherd <erin.shepherd@e43.eu> Link: https://lore.kernel.org/r/20241113-pidfs_fh-v2-1-9a4d28155a37@e43.eu Link: https://lore.kernel.org/r/20241129-work-pidfs-file_handle-v1-1-87d803a42495@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux/pseudo_fs.h')
-rw-r--r--include/linux/pseudo_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pseudo_fs.h b/include/linux/pseudo_fs.h
index 730f77381d55..2503f7625d65 100644
--- a/include/linux/pseudo_fs.h
+++ b/include/linux/pseudo_fs.h
@@ -5,6 +5,7 @@
struct pseudo_fs_context {
const struct super_operations *ops;
+ const struct export_operations *eops;
const struct xattr_handler * const *xattr;
const struct dentry_operations *dops;
unsigned long magic;