aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fuse.h5
-rw-r--r--include/linux/fuse.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/include/fuse.h b/include/fuse.h
index a117211..60cd378 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -30,6 +30,11 @@ typedef int (*fuse_dirfil_t) (fuse_dirh_t, const char *, int type);
* - All operations should return the negated error value (-errno) on
* error.
*
+ * - Getattr() doesn't need to fill in the following fields:
+ * st_ino
+ * st_dev
+ * st_blksize
+ *
* - readlink() should fill the buffer with a null terminated string. The
* buffer size argument includes the space for the terminating null
* character. If the linkname is too long to fit in the buffer, it should
diff --git a/include/linux/fuse.h b/include/linux/fuse.h
index d41a957..0cd9e5c 100644
--- a/include/linux/fuse.h
+++ b/include/linux/fuse.h
@@ -42,7 +42,7 @@ struct fuse_attr {
unsigned int gid;
unsigned int rdev;
unsigned long long size;
- unsigned long blksize;
+ unsigned long _dummy;
unsigned long blocks;
unsigned long atime;
unsigned long mtime;