diff --git a/sesman/chansrv/devredir.c b/sesman/chansrv/devredir.c index 226252229..ae089c622 100644 --- a/sesman/chansrv/devredir.c +++ b/sesman/chansrv/devredir.c @@ -2441,6 +2441,15 @@ devredir_proc_cid_statfs_resp(IRP *irp, fss.f_blocks = TotalAllocationUnits; fss.f_bfree = ActualAvailableAllocationUnits; fss.f_bavail = CallerAvailableAllocationUnits; + // Following values do not seem to be needed by + // any applications. btrfs also returns 0 for these + //fss.f_files = ???; + //fss.f_ffree = ???; + //fss.f_favail = fss.f_ffree; + // Chromium 130 needs this set, or the user can't save + // to our filesystem + fss.f_namemax = XFS_MAXFILENAMELEN; + } } }