From: Ross Lagerwall Date: Sun, 20 Jul 2014 20:39:06 +0000 (+0100) Subject: libnfs: Set as much stat information as possible X-Git-Tag: upstream/1.9.6^2~16^2~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=fc08ac459cbeb3fc2fba47a5aee83b843de1e1ab;hp=fc08ac459cbeb3fc2fba47a5aee83b843de1e1ab;p=deb_libnfs.git libnfs: Set as much stat information as possible Set as much stat information as possible for stat, stat64, fstat and readdir. Fill in dev to the given fsid. Fill in rdev to the given major and minor numbers. Set the file type bits in the mode from the type returned by the server. Set the number of blocks used based on the number of bytes used in blocks of size 512 (which is what stat(2) uses), rounded up. Fill in the nanosecond timestamps. Signed-off-by: Ross Lagerwall ---