Nick Craig-Wood 30ef1ddb23
Some checks failed
Docker beta build / Build image job (push) Has been cancelled
serve nfs: fix missing inode numbers which was messing up ls -laR
In 6ba3e2485399a918

    serve nfs: fix incorrect user id and group id exported to NFS #7973

We updated the stat function to output uid and gid. However this set
the inode numbers of everything to -1. This causes a problem with
doing `ls -laR` giving "not listing already-listed directory" as it
uses inode numbers to see if it has listed a directory or not.

This patch reads the inode number from the vfs.Node and sets it in the
Stat output.
2025-01-09 18:55:18 +00:00
..
2024-09-30 17:20:42 +01:00