From 3ded1a3176bb803e016e79d0e6db5e1f3ea30473 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 18 Aug 2006 18:43:50 +0000 Subject: statfs improvement --- include/fuse_lowlevel.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/fuse_lowlevel.h') 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 * -- cgit v1.2.3