projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
859cb93
)
ext3: remove unused code from ext3_find_entry()
author
Mariusz Kozlowski
<m.kozlowski@tuxland.pl>
Wed, 6 Feb 2008 09:40:18 +0000
(
01:40
-0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:21 +0000
(10:41 -0800)
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>
fs/ext3/namei.c
patch
|
blob
|
history
diff --git
a/fs/ext3/namei.c
b/fs/ext3/namei.c
index 4ab6f76e63d0cda8e125672153571038f48b16c6..92b83b004dd8b09c5b8a981750af3521bc424b81 100644
(file)
--- a/
fs/ext3/namei.c
+++ b/
fs/ext3/namei.c
@@
-860,14
+860,10
@@
static struct buffer_head * ext3_find_entry (struct dentry *dentry,
int nblocks, i, err;
struct inode *dir = dentry->d_parent->d_inode;
int namelen;
- const u8 *name;
- unsigned blocksize;
*res_dir = NULL;
sb = dir->i_sb;
- blocksize = sb->s_blocksize;
namelen = dentry->d_name.len;
- name = dentry->d_name.name;
if (namelen > EXT3_NAME_LEN)
return NULL;
if (is_dx(dir)) {