diff options
| -rw-r--r-- | fs/ext3/namei.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c index 4ab6f76e63d0..92b83b004dd8 100644 --- a/fs/ext3/namei.c +++ b/fs/ext3/namei.c | |||
| @@ -860,14 +860,10 @@ static struct buffer_head * ext3_find_entry (struct dentry *dentry, | |||
| 860 | int nblocks, i, err; | 860 | int nblocks, i, err; |
| 861 | struct inode *dir = dentry->d_parent->d_inode; | 861 | struct inode *dir = dentry->d_parent->d_inode; |
| 862 | int namelen; | 862 | int namelen; |
| 863 | const u8 *name; | ||
| 864 | unsigned blocksize; | ||
| 865 | 863 | ||
| 866 | *res_dir = NULL; | 864 | *res_dir = NULL; |
| 867 | sb = dir->i_sb; | 865 | sb = dir->i_sb; |
| 868 | blocksize = sb->s_blocksize; | ||
| 869 | namelen = dentry->d_name.len; | 866 | namelen = dentry->d_name.len; |
| 870 | name = dentry->d_name.name; | ||
| 871 | if (namelen > EXT3_NAME_LEN) | 867 | if (namelen > EXT3_NAME_LEN) |
| 872 | return NULL; | 868 | return NULL; |
| 873 | if (is_dx(dir)) { | 869 | if (is_dx(dir)) { |
