diff options
author | Mariusz Kozlowski <m.kozlowski@tuxland.pl> | 2008-01-28 23:58:27 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-01-28 23:58:27 -0500 |
commit | 01f4adc04480a4e0395906d0268c056cf09c39c0 (patch) | |
tree | e89bc1364e50329c1a287cb11960a96cd032ff29 /fs/ext4/namei.c | |
parent | 221879c927df05280283a4de6124806c17cc44d4 (diff) |
ext4: remove unused code from ext4_find_entry()
The unused code found in ext3_find_entry() is also present (and still
unused) in the ext4_find_entry() code. This patch removes it.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/namei.c')
-rw-r--r-- | fs/ext4/namei.c | 4 |
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)) { |