aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse_lowlevel.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2006-08-18 18:43:50 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2006-08-18 18:43:50 +0000
commit3ded1a3176bb803e016e79d0e6db5e1f3ea30473 (patch)
treed67302d0f48290b6f865fff4a8f4d162e808439a /include/fuse_lowlevel.h
parent63d3c40e1fa56176a61df9ea6d430de4362aa77b (diff)
downloadlibfuse-3ded1a3176bb803e016e79d0e6db5e1f3ea30473.tar.gz
statfs improvement
Diffstat (limited to 'include/fuse_lowlevel.h')
-rw-r--r--include/fuse_lowlevel.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h
index ede1307..a676830 100644
--- a/include/fuse_lowlevel.h
+++ b/include/fuse_lowlevel.h
@@ -600,8 +600,9 @@ struct fuse_lowlevel_ops {
* fuse_reply_err
*
* @param req request handle
+ * @param ino the inode number, zero means "undefined"
*/
- void (*statfs) (fuse_req_t req);
+ void (*statfs) (fuse_req_t req, fuse_ino_t ino);
/**
* Set an extended attribute
@@ -754,6 +755,10 @@ struct fuse_lowlevel_ops {
* 'struct flock' should only be used to fill in this field in
* getlk().
*
+ * Note: if the locking methods are not implemented, the kernel
+ * will still allow file locking to work locally. Hence these are
+ * only interesting for network filesystems and similar.
+ *
* Valid replies:
* fuse_reply_err
*