diff options
Diffstat (limited to 'ripple/fossil/src/bin')
-rw-r--r-- | ripple/fossil/src/bin/mount.rs | 7 |
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); |