Whamcloud - gitweb
filefrag: remove useless assignment
authorJim Meyering <meyering@redhat.com>
Tue, 1 Feb 2011 18:25:35 +0000 (19:25 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 7 Feb 2011 00:01:25 +0000 (19:01 -0500)
The very next one memset's all bytes of fiemap to 0.

Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/filefrag.c

index 1611f90..1770541 100644 (file)
@@ -179,8 +179,6 @@ static int filefrag_fiemap(int fd, int blk_shift, int *num_extents)
        int last = 0;
        int rc;
 
-       fiemap->fm_length = ~0ULL;
-
        memset(fiemap, 0, sizeof(struct fiemap));
 
        if (!verbose)