Fix AbstractInode::statvfs not setting f_favail.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-05-31 20:17:59 +02:00
parent 779bbe19dd
commit d235251139
1 changed files with 2 additions and 1 deletions

View File

@ -114,7 +114,8 @@ int AbstractInode::statvfs(ioctx_t* ctx, struct statvfs* stvfs)
retstvfs.f_bavail = 0;
retstvfs.f_files = 0;
retstvfs.f_ffree = 0;
retstvfs.f_fsid = (dev_t) dev;
retstvfs.f_favail = 0;
retstvfs.f_fsid = dev;
retstvfs.f_flag = ST_NOSUID;
retstvfs.f_namemax = ULONG_MAX;
if ( !ctx->copy_to_dest(stvfs, &retstvfs, sizeof(retstvfs)) )