pc.ndisk_links. Just use nNumberOfLinks instead.
+2008-04-24 Corinna Vinschen <corinna@vinschen.de>
+
+ * fhandler_disk_file.cc (fhandler_base::fstat_helper): Disable calling
+ pc.ndisk_links. Just use nNumberOfLinks instead.
+
2008-04-24 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_base::utimens_fs): Fix typo in
This is too slow on remote drives, so we do without it.
Setting the count to 2 confuses `find (1)' command. So
let's try it with `1' as link count. */
+#if 0
buf->st_nlink = pc.ndisk_links (nNumberOfLinks);
+#else
+ buf->st_nlink = nNumberOfLinks;
+#endif
/* Enforce namehash as inode number on untrusted file systems. */
if (pc.isgood_inode (nFileIndex))