From 15cbfdfd390402057d237664ac087140608bf80b Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 28 Jun 2012 19:33:16 -0700 Subject: Actually keep track of the pathnames for all elements Actually keep track of the pathnames for all elements for on-disk filesystems. This makes sure we can always reconstruct the correct path. Signed-off-by: H. Peter Anvin --- core/include/fs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/include/fs.h') diff --git a/core/include/fs.h b/core/include/fs.h index ecd148da..e1f5733c 100644 --- a/core/include/fs.h +++ b/core/include/fs.h @@ -95,6 +95,7 @@ struct extent { struct inode { struct fs_info *fs; /* The filesystem this inode is associated with */ struct inode *parent; /* Parent directory, if any */ + const char *name; /* Name, valid for generic path search only */ int refcnt; int mode; /* FILE , DIR or SYMLINK */ uint32_t size; -- cgit v1.2.1