diff options
author | rncry <rncry@users.noreply.github.com> | 2015-12-03 16:25:12 +0000 |
---|---|---|
committer | rncry <rncry@users.noreply.github.com> | 2015-12-03 16:25:12 +0000 |
commit | 0a87f4dd32428688e6097c3ee540fff7c5724eef (patch) | |
tree | 9e04333114e39a41dba03b8ba4ac978ab900cb35 | |
parent | 27d76e442d96139f9038d83d23275877fa3d3c9b (diff) | |
download | fusepy-0a87f4dd32428688e6097c3ee540fff7c5724eef.tar.gz |
Added missing fields in statvfs on linux
Added the fields to ensure compatibility with linux. f_namemax is important for some operations.
-rw-r--r-- | fuse.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -203,7 +203,11 @@ class c_statvfs(Structure): ('f_bavail', c_fsblkcnt_t), ('f_files', c_fsfilcnt_t), ('f_ffree', c_fsfilcnt_t), - ('f_favail', c_fsfilcnt_t)] + ('f_favail', c_fsfilcnt_t), + ('f_fsid', c_ulong), + #('unused', c_int), + ('f_flag', c_ulong), + ('f_namemax', c_ulong)] if _system == 'FreeBSD': c_fsblkcnt_t = c_uint64 |