aboutsummaryrefslogtreecommitdiffstats
path: root/core/include
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-06-28 19:33:16 -0700
committerH. Peter Anvin <hpa@zytor.com>2012-06-28 19:33:16 -0700
commit15cbfdfd390402057d237664ac087140608bf80b (patch)
treebe6d0d99b2c360d400c4d664c37a28a7254b21ba /core/include
parent255fd8e592d2fb014e4a13a98655aed0bf9d6121 (diff)
downloadsyslinux-15cbfdfd390402057d237664ac087140608bf80b.tar.gz
syslinux-15cbfdfd390402057d237664ac087140608bf80b.tar.xz
syslinux-15cbfdfd390402057d237664ac087140608bf80b.zip
Actually keep track of the pathnames for all elementssyslinux-4.06-pre9
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 <hpa@zytor.com>
Diffstat (limited to 'core/include')
-rw-r--r--core/include/fs.h1
1 files changed, 1 insertions, 0 deletions
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;