summaryrefslogtreecommitdiffstats
path: root/fs/efs/namei.c
diff options
context:
space:
mode:
authorMike Shaver <shaver@ingenia.com>1997-09-16 20:51:16 +0000
committerMike Shaver <shaver@ingenia.com>1997-09-16 20:51:16 +0000
commit07e8059de69d387ee281ed8b8d66b66810244b50 (patch)
tree9123ada8119208544537a8019c2197dc4d80b81c /fs/efs/namei.c
parent4344cfb77cdc787c82a7076a50172240f82d6d38 (diff)
namei.c: - Support symlinks correctly.
inode.c: - Formatting, minor change to start supporting indirect extents. dir.c: - Prevent access to an indirect directory from hosing the system. *.h: - Add forgotten include files.
Diffstat (limited to 'fs/efs/namei.c')
-rw-r--r--fs/efs/namei.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/fs/efs/namei.c b/fs/efs/namei.c
index 82086accd..752aa5fe1 100644
--- a/fs/efs/namei.c
+++ b/fs/efs/namei.c
@@ -84,7 +84,7 @@ static struct buffer_head * efs_find_entry(struct inode *dir,
entry_inode = efs_swab32(de->ud_inum.l);
namelen = de->d_namelen;
name = de->d_name;
-#ifdef DEBUG_EFS
+#ifdef 0
printk("EFS: entry %d @ %#x has inode %#x, %s/%d\n",
i, db_offset, entry_inode, name, namelen);
#endif
@@ -99,13 +99,11 @@ static struct buffer_head * efs_find_entry(struct inode *dir,
return bh;
}
}
+ }
#ifdef DEBUG_EFS
- printk("EFS: efs_find_entry didn't find inode for \"%s\"!\n",
- oname);
+ printk("EFS: efs_find_entry didn't find inode for \"%s\"/%d!\n",
+ oname, onamelen);
#endif
- return NULL;
- }
- printk("EFS: Falling off the end of efs_find_entry! Bogus!\n");
return NULL;
/* not reached */
}