aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--sshfs.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d5fe36..c3b136e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-28 Miklos Szeredi <miklos@szeredi.hu>
+
+ * Set statvfs::f_frsize
+
2005-11-23 Miklos Szeredi <miklos@szeredi.hu>
* Fix warnings on 64bit systems. Reported by D. R. Evans
diff --git a/sshfs.c b/sshfs.c
index 4f64e1e..2fbc26c 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -1780,7 +1780,8 @@ static int sshfs_statfs(const char *path, struct statvfs *buf)
(void) path;
buf->f_namemax = 255;
- buf->f_bsize = 512;
+ buf->f_bsize = blksize;
+ buf->f_frsize = 512;
buf->f_blocks = 999999999 * 2;
buf->f_bfree = 999999999 * 2;
buf->f_bavail = 999999999 * 2;