ext3: remove unused code from ext3_find_entry()
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
859cb93679
commit
e1d7ae24a2
@@ -860,14 +860,10 @@ static struct buffer_head * ext3_find_entry (struct dentry *dentry,
|
|||||||
int nblocks, i, err;
|
int nblocks, i, err;
|
||||||
struct inode *dir = dentry->d_parent->d_inode;
|
struct inode *dir = dentry->d_parent->d_inode;
|
||||||
int namelen;
|
int namelen;
|
||||||
const u8 *name;
|
|
||||||
unsigned blocksize;
|
|
||||||
|
|
||||||
*res_dir = NULL;
|
*res_dir = NULL;
|
||||||
sb = dir->i_sb;
|
sb = dir->i_sb;
|
||||||
blocksize = sb->s_blocksize;
|
|
||||||
namelen = dentry->d_name.len;
|
namelen = dentry->d_name.len;
|
||||||
name = dentry->d_name.name;
|
|
||||||
if (namelen > EXT3_NAME_LEN)
|
if (namelen > EXT3_NAME_LEN)
|
||||||
return NULL;
|
return NULL;
|
||||||
if (is_dx(dir)) {
|
if (is_dx(dir)) {
|
||||||
|
Reference in New Issue
Block a user