diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-02-24 21:29:33 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-24 21:29:33 -0800 |
commit | 4e7f791dd0c8429899047309f1a352a6ca055f3b (patch) | |
tree | f1702f5720534c009a086bd6e02d34f20c3110e2 | |
parent | e464516f5baa21981d8f0130e3589dffea201558 (diff) | |
download | syslinux-4e7f791dd0c8429899047309f1a352a6ca055f3b.tar.gz |
fs: searchdir: handle opening a directory
Handle the case of opening a directory.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | core/fs/fs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fs/fs.c b/core/fs/fs.c index c24feede..fc7948d0 100644 --- a/core/fs/fs.c +++ b/core/fs/fs.c @@ -214,6 +214,8 @@ int searchdir(const char *name) } do { + inode = get_inode(parent); + while (*p == '/') p++; |