summaryrefslogtreecommitdiff
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2018-06-22 13:48:30 +0100
committerMiklos Szeredi <mszeredi@redhat.com>2019-09-12 14:59:40 +0200
commit79d96efffda7597b41968d5d8813b39fc2965f1b (patch)
treea45172ead5c812a5f2dc0f649dd97a2dcb1f7627 /fs/fuse/fuse_i.h
parent95a84cdb11c26315a6d34664846f82c438c961a1 (diff)
fuse: export fuse_get_unique()
virtio-fs will need unique IDs for FORGET requests from outside fs/fuse/dev.c. 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 7192080a06d0..b868b71d47d9 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -977,4 +977,9 @@ int fuse_readdir(struct file *file, struct dir_context *ctx);
*/
unsigned int fuse_len_args(unsigned int numargs, struct fuse_arg *args);
+/**
+ * Get the next unique ID for a request
+ */
+u64 fuse_get_unique(struct fuse_iqueue *fiq);
+
#endif /* _FS_FUSE_I_H */