mirror of
https://github.com/libfuse/libfuse.git
synced 2024-11-24 20:54:16 +08:00
minor updates
This commit is contained in:
parent
bf36016741
commit
acd4e06c71
@ -6,6 +6,9 @@
|
||||
See the file COPYING.
|
||||
*/
|
||||
|
||||
#ifndef _FUSE_H_
|
||||
#define _FUSE_H_
|
||||
|
||||
/* This file defines the library interface of FUSE */
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -85,6 +88,9 @@ struct fuse_operations {
|
||||
/** Enable debuging output */
|
||||
#define FUSE_DEBUG (1 << 1)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Create a new FUSE filesystem.
|
||||
@ -175,3 +181,8 @@ struct fuse_cmd *__fuse_read_cmd(struct fuse *f);
|
||||
void __fuse_process_cmd(struct fuse *f, struct fuse_cmd *cmd);
|
||||
void __fuse_loop_mt(struct fuse *f, fuse_processor_t proc, void *data);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _FUSE_H_ */
|
||||
|
@ -10,6 +10,10 @@
|
||||
|
||||
#include <linux/slab.h>
|
||||
|
||||
MODULE_AUTHOR("Miklos Szeredi <mszeredi@inf.bme.hu>");
|
||||
MODULE_DESCRIPTION("Filesystem in Userspace");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
spinlock_t fuse_lock = SPIN_LOCK_UNLOCKED;
|
||||
|
||||
/* Must be called with the fuse lock held */
|
||||
|
Loading…
Reference in New Issue
Block a user