Displaying 2 results from an estimated 2 matches for "namei_ra_size".
2001 Oct 07
2
ext3 and ls in a deletted directory
Hi,
With kernel 2.4.10, when I do
$ mkdir foo; cd foo; rmdir ../foo; ls
then ls becomes zombie.
$ ps xau|grep ls
liu 596 0.0 0.0 148 88 ? D 12:03 0:00 ls
This does not happen with 2.4.10 on an ext2 filesystem,
nor with 2.4.9/ext3. The command cd instead of ls is OK.
Distribution is Slackware 8.0 and the kernels are stock ones.
Liu
2003 Jan 16
0
[PATCH] Using qstr in ext3_get_parent()
...atic struct buffer_head * ext3_find_entry (struct dentry *dentry,
- struct ext3_dir_entry_2 ** res_dir)
+static struct buffer_head * ext3_find_entry (struct inode *dir,
+ struct qstr *entry, struct ext3_dir_entry_2 ** res_dir)
{
struct super_block * sb;
struct buffer_head * bh_use[NAMEI_RA_SIZE];
@@ -768,7 +767,6 @@
buffer */
int num = 0;
int nblocks, i, err;
- struct inode *dir = dentry->d_parent->d_inode;
int namelen;
const u8 *name;
unsigned blocksize;
@@ -776,13 +774,13 @@
*res_dir = NULL;
sb = dir->i_sb;
blocksize = sb->s_blocksize;
- namelen = den...