aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2018-06-21 09:34:25 +0100
committerMiklos Szeredi <mszeredi@redhat.com>2019-09-12 14:59:40 +0200
commit14d46d7abc3973a47e8eb0eb5eb87ee8d910a505 (patch)
treedb6a0ac46537b930744c675a9031464a56b50d77 /fs/fuse/fuse_i.h
parentfuse: export fuse_end_request() (diff)
downloadwireguard-linux-14d46d7abc3973a47e8eb0eb5eb87ee8d910a505.tar.xz
wireguard-linux-14d46d7abc3973a47e8eb0eb5eb87ee8d910a505.zip
fuse: export fuse_len_args()
virtio-fs will need to query the length of fuse_arg lists. Make the symbol visible. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 5c50d3da1b0d..39ef981a618c 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -971,4 +971,9 @@ int fuse_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/* readdir.c */
int fuse_readdir(struct file *file, struct dir_context *ctx);
+/**
+ * Return the number of bytes in an arguments list
+ */
+unsigned int fuse_len_args(unsigned int numargs, struct fuse_arg *args);
+
#endif /* _FS_FUSE_I_H */