projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e464516
)
fs: searchdir: handle opening a directory
author
H. Peter Anvin
<hpa@zytor.com>
Thu, 25 Feb 2010 05:29:33 +0000
(21:29 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Thu, 25 Feb 2010 05:29:33 +0000
(21:29 -0800)
Handle the case of opening a directory.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/fs.c
patch
|
blob
|
history
diff --git
a/core/fs/fs.c
b/core/fs/fs.c
index
c24feed
..
fc7948d
100644
(file)
--- 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++;