mirror of
https://github.com/borgbackup/borg.git
synced 2026-03-29 05:44:17 -04:00
Merge pull request #5108 from ThomasWaldmann/fuse-statfs-fix-namemax
fuse: set f_namemax in statfs result, fixes #2684
This commit is contained in:
commit
0a47e3e160
1 changed files with 1 additions and 0 deletions
|
|
@ -540,6 +540,7 @@ class FuseOperations(llfuse.Operations, FuseBackend):
|
|||
stat_.f_files = 0
|
||||
stat_.f_ffree = 0
|
||||
stat_.f_favail = 0
|
||||
stat_.f_namemax = 255 # == NAME_MAX (depends on archive source OS / FS)
|
||||
return stat_
|
||||
|
||||
def getattr(self, inode, ctx=None):
|
||||
|
|
|
|||
Loading…
Reference in a new issue