aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-11-29 07:04:09 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2005-11-29 07:04:09 +0000
commit5dd6469a84cee686afb78d7646b0314fd8dee6d5 (patch)
treea1b241f7cb8ffe6e60eb5a77afbbcaeab3a15323
parentaa44e0154931c4027635096f4e5bfa1392008f91 (diff)
downloadsshfs-5dd6469a84cee686afb78d7646b0314fd8dee6d5.tar
sshfs-5dd6469a84cee686afb78d7646b0314fd8dee6d5.tar.gz
sshfs-5dd6469a84cee686afb78d7646b0314fd8dee6d5.tar.bz2
sshfs-5dd6469a84cee686afb78d7646b0314fd8dee6d5.zip
fix
-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;