aboutsummaryrefslogtreecommitdiff
path: root/sshfs.c
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 /sshfs.c
parentaa44e0154931c4027635096f4e5bfa1392008f91 (diff)
downloadsshfs-5dd6469a84cee686afb78d7646b0314fd8dee6d5.tar
sshfs-5dd6469a84cee686afb78d7646b0314fd8dee6d5.tar.gz
sshfs-5dd6469a84cee686afb78d7646b0314fd8dee6d5.tar.bz2
sshfs-5dd6469a84cee686afb78d7646b0314fd8dee6d5.zip
fix
Diffstat (limited to 'sshfs.c')
-rw-r--r--sshfs.c3
1 files changed, 2 insertions, 1 deletions
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;