* [PATCH -mm] ext4: remove unused code from ext4_find_entry()
@ 2007-12-12 21:46 Mariusz Kozlowski
2007-12-14 1:03 ` Theodore Tso
0 siblings, 1 reply; 2+ messages in thread
From: Mariusz Kozlowski @ 2007-12-12 21:46 UTC (permalink / raw)
To: sct, akpm; +Cc: linux-ext4, lkml
Hello,
The unused code found in ext3_find_entry() is also present (and still unused)
in the ext4_find_entry() code. This patch removes it. Compile tested only.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
fs/ext4/namei.c | 68044 -> 67947 (-97 bytes)
fs/ext4/namei.o | 183840 -> 183792 (-48 bytes)
fs/ext4/namei.c | 4 ----
1 file changed, 4 deletions(-)
--- linux-2.6.24-rc4-mm1-a/fs/ext4/namei.c 2007-12-06 09:27:07.000000000 +0100
+++ linux-2.6.24-rc4-mm1-b/fs/ext4/namei.c 2007-12-12 22:32:45.000000000 +0100
@@ -861,14 +861,10 @@ static struct buffer_head * ext4_find_en
int 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 > EXT4_NAME_LEN)
return NULL;
if (is_dx(dir)) {
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -mm] ext4: remove unused code from ext4_find_entry()
2007-12-12 21:46 [PATCH -mm] ext4: remove unused code from ext4_find_entry() Mariusz Kozlowski
@ 2007-12-14 1:03 ` Theodore Tso
0 siblings, 0 replies; 2+ messages in thread
From: Theodore Tso @ 2007-12-14 1:03 UTC (permalink / raw)
To: Mariusz Kozlowski; +Cc: sct, akpm, linux-ext4, lkml
On Wed, Dec 12, 2007 at 10:46:40PM +0100, Mariusz Kozlowski wrote:
> Hello,
>
> The unused code found in ext3_find_entry() is also present (and still unused)
> in the ext4_find_entry() code. This patch removes it. Compile tested only.
>
> Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Thanks, this will be in the next ext4 patchset.
- Ted
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-14 1:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12 21:46 [PATCH -mm] ext4: remove unused code from ext4_find_entry() Mariusz Kozlowski
2007-12-14 1:03 ` Theodore Tso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox