]> git.neil.brown.name Git - LaFS.git/commitdiff
lafs_walk_leaf_index
authorNeilBrown <neilb@suse.de>
Tue, 8 Jun 2010 08:18:59 +0000 (18:18 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 10 Jun 2010 06:05:08 +0000 (16:05 +1000)
remove stray handler initialisation.
Both walk_indirect and walk_extent do an initialisation
so there is no point doing another one.

Signed-off-by: NeilBrown <neilb@suse.de>
modify.c

index 0508e61a4791c72279cf7aaf67937a782ba81884..d248e3e0c054c609b8ca8303dde7f144eb720e3e 100644 (file)
--- a/modify.c
+++ b/modify.c
@@ -1018,7 +1018,6 @@ void lafs_walk_leaf_index(struct indexblock *ib,
                offset = 0;
        len = fs->prime_sb->s_blocksize - offset;
 
-       handle(data, ib->b.fileaddr, 0, len);
        current_layout = le16_to_cpu(*(u16 *)(ibuf+offset));
        buf = ibuf + offset + 2;
        dprintk("CURRENT=%d\n", current_layout);