aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ext4/namei.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index fb673b14ccd5..67b6d8a1ceff 100644
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@ -861,14 +861,10 @@ static struct buffer_head * ext4_find_entry (struct dentry *dentry,
861 int i, err; 861 int i, err;
862 struct inode *dir = dentry->d_parent->d_inode; 862 struct inode *dir = dentry->d_parent->d_inode;
863 int namelen; 863 int namelen;
864 const u8 *name;
865 unsigned blocksize;
866 864
867 *res_dir = NULL; 865 *res_dir = NULL;
868 sb = dir->i_sb; 866 sb = dir->i_sb;
869 blocksize = sb->s_blocksize;
870 namelen = dentry->d_name.len; 867 namelen = dentry->d_name.len;
871 name = dentry->d_name.name;
872 if (namelen > EXT4_NAME_LEN) 868 if (namelen > EXT4_NAME_LEN)
873 return NULL; 869 return NULL;
874 if (is_dx(dir)) { 870 if (is_dx(dir)) {