ntfsmount: Apply patch from Yuval to fix 'df' output.

edge.strict_endians
cha0smaster 2005-08-31 14:31:53 +00:00
parent c3727658ca
commit 3164c705f7
2 changed files with 3 additions and 2 deletions

View File

@ -40,7 +40,8 @@ xx/xx/2005 - 1.12.0-WIP
- ntfscluster, utils.c::mft_next_record(): fix gigaleak. (Szaka)
- Define PATH_MAX if not defined in ntfsprogs/ntfsmount.c and
libntfs/volume.c. Needed to compile on DOS with djgpp. (Christophe)
- Switch ntfsmount to use getoptlong. (Yuval, minor fixes by Yura)
- Switch ntfsmount to use getopt_long. (Yuval, minor fixes by Yura)
- ntfsmount: Fix 'df' output. (Yuval)
08/08/2005 - 1.11.2 - ntfsdecrypt now works and lots of fixes and improvements.

View File

@ -188,7 +188,7 @@ static int ntfs_fuse_statfs(const char *path __attribute__((unused)),
/* Type of filesystem. */
sfs->f_type = NTFS_SB_MAGIC;
/* Optimal transfer block size. */
sfs->f_bsize = NTFS_BLOCK_SIZE;
sfs->f_bsize = vol->cluster_size;
/*
* Total data blocks in file system in units of f_bsize and since
* inodes are also stored in data blocs ($MFT is a file) this is just