diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2001-11-13 16:11:35 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2001-11-13 16:11:35 +0000 |
commit | 05033041285858d581b05617900e2921502bf434 (patch) | |
tree | 11441248c4949cbdc86be73459d8b07dc80c0eff /include | |
parent | 0a7077f5364454de39fb1ac486d4bd233aa11798 (diff) | |
download | libfuse-05033041285858d581b05617900e2921502bf434.tar.gz |
fix vfsmount leak bug in fuse_follow_link
Diffstat (limited to 'include')
-rw-r--r-- | include/fuse.h | 5 | ||||
-rw-r--r-- | include/linux/fuse.h | 2 |
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; |