Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c475534
)
filefrag: remove useless assignment
author
Jim Meyering
<meyering@redhat.com>
Tue, 1 Feb 2011 18:25:35 +0000
(19:25 +0100)
committer
Theodore 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
patch
|
blob
|
history
diff --git
a/misc/filefrag.c
b/misc/filefrag.c
index
1611f90
..
1770541
100644
(file)
--- a/
misc/filefrag.c
+++ b/
misc/filefrag.c
@@
-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)