diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2009-07-02 12:26:36 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2009-07-02 12:26:36 +0000 |
commit | 24b35c3d97ffdbf0a1f8e8b4e94ed892343603a6 (patch) | |
tree | 0ebcdf18f18a07ab444c4707f8091b615fd23171 /lib/fuse_session.c | |
parent | 5bd3ba41e55e8c52e04d730d1e8a924b23b21591 (diff) |
* The context is extended with a 'umask' field. The umask is sent
for mknod, mkdir and create requests by linux kernel version
2.6.31 or later, otherwise the umask is set to zero. Also
introduce a new feature flag: FUSE_CAP_DONT_MASK. If the kernel
supports this feature, then this flag will be set in conn->capable
in the ->init() method. If the filesystem sets this flag in in
conn->want, then the create modes will not be masked.
* Add low level interfaces for lookup cache and attribute
invalidation. This feature is available in linux kernels 2.6.31
or later. Patch by John Muir
* Kernel interface version is now 7.12
Diffstat (limited to 'lib/fuse_session.c')
-rw-r--r-- | lib/fuse_session.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/fuse_session.c b/lib/fuse_session.c index 7df4795..3758627 100644 --- a/lib/fuse_session.c +++ b/lib/fuse_session.c @@ -111,6 +111,11 @@ int fuse_session_exited(struct fuse_session *se) return se->exited; } +void *fuse_session_data(struct fuse_session *se) +{ + return se->data; +} + static struct fuse_chan *fuse_chan_new_common(struct fuse_chan_ops *op, int fd, size_t bufsize, void *data, int compat) |