From 6dd4bf3b90466924721b78abbc6db23c21bf1946 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Fri, 24 Jul 2015 14:05:13 +1000 Subject: [PATCH] Stop referring to fuseshim.RootID. --- fuseops/simple_types.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fuseops/simple_types.go b/fuseops/simple_types.go index 3191b36..c41d872 100644 --- a/fuseops/simple_types.go +++ b/fuseops/simple_types.go @@ -19,7 +19,7 @@ import ( "os" "time" - "github.com/jacobsa/fuse/internal/fuseshim" + "github.com/jacobsa/fuse/internal/fusekernel" ) // A 64-bit number used to uniquely identify a file or directory in the file @@ -38,7 +38,7 @@ const RootInodeID = 1 func init() { // Make sure the constant above is correct. We do this at runtime rather than - // defining the constant in terms of fuseshim.RootID for two reasons: + // defining the constant in terms of fusekernel.RootID for two reasons: // // 1. Users can more clearly see that the root ID is low and can therefore // be used as e.g. an array index, with space reserved up to the root. @@ -46,12 +46,12 @@ func init() { // 2. The constant can be untyped and can therefore more easily be used as // an array index. // - if RootInodeID != fuseshim.RootID { + if RootInodeID != fusekernel.RootID { panic( fmt.Sprintf( "Oops, RootInodeID is wrong: %v vs. %v", RootInodeID, - fuseshim.RootID)) + fusekernel.RootID)) } }