summary refs log tree commit diff
path: root/ripple/fossil/src
diff options
context:
space:
mode:
Diffstat (limited to 'ripple/fossil/src')
-rw-r--r--ripple/fossil/src/bin/mount.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/ripple/fossil/src/bin/mount.rs b/ripple/fossil/src/bin/mount.rs
index c9c5955..e1752d5 100644
--- a/ripple/fossil/src/bin/mount.rs
+++ b/ripple/fossil/src/bin/mount.rs
@@ -398,8 +398,11 @@ impl fuser::Filesystem for Filesystem {
 				});
 
 				let children = [
-					(ino, fuser::FileType::Directory, "."),
-					(ino, fuser::FileType::Directory, ".."),
+					// XXX: The kernel doesn't actually *care* what inodes we provide,
+					// it just overwrites them with the appropriate ones. We *do* have
+					// to actually include these entries with a nonzero inode, however.
+					(!0, fuser::FileType::Directory, "."),
+					(!0, fuser::FileType::Directory, ".."),
 				]
 				.into_iter()
 				.chain(children);