fix share memory leak

The commit init dir_cache. Put the root dir into memory when init the fs.