Re: ext3: ext4: Using uninitialized value

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Sandeen
Date: Wednesday, October 13, 2010 - 9:13 am

On 10/13/2010 09:40 AM, Roman Borisov wrote:

that was introduced with:

commit acfa1823d33859b0db77701726c9ca5ccc6e6f25
Author: Andreas Dilger <adilger@clusterfs.com>
Date:   Thu Jun 23 00:09:45 2005 -0700

    [PATCH] Support for dx directories in ext3_get_parent (NFSD)

so maybe Andreas knows offhand ;)  but I think:


This is a fancy way of saying name is not "." or ".."


so here it -is- "." or ".." -


now frame->at.block = 0


block = 0 (we just put it there)


so we look up block 0 in the dir inode


and get to the dir entry, and search through them for our name


here we should find the . or .. (it's always going to be there, right?)


so we return


before we get here:


-Eric


--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ext3: ext4: Using uninitialized value, Roman Borisov, (Wed Oct 13, 7:40 am)
Re: ext3: ext4: Using uninitialized value, Eric Sandeen, (Wed Oct 13, 9:13 am)
Re: ext3: ext4: Using uninitialized value, Andreas Dilger, (Wed Oct 13, 11:56 am)
Re: ext3: ext4: Using uninitialized value, Roman Borisov, (Thu Oct 14, 3:10 am)
Re: ext3: ext4: Using uninitialized value, Eric Sandeen, (Thu Oct 14, 6:42 am)
Re: ext3: ext4: Using uninitialized value, Ted Ts'o, (Sat Oct 16, 4:35 pm)