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:
767183d
)
e4defrag: open fs with EXT2_FLAG_64BITS flag
author
Jon Ernst
<jonernst07@gmail.com>
Fri, 11 Apr 2014 03:06:35 +0000
(23:06 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Fri, 11 Apr 2014 03:06:35 +0000
(23:06 -0400)
This allows e4defrag to work with 64-bit and bigalloc file systems.
Signed-off-by: Jon Ernst <jonernst07@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/e4defrag.c
patch
|
blob
|
history
diff --git
a/misc/e4defrag.c
b/misc/e4defrag.c
index
620f4e7
..
a1224bb
100644
(file)
--- a/
misc/e4defrag.c
+++ b/
misc/e4defrag.c
@@
-1794,8
+1794,8
@@
int main(int argc, char *argv[])
if (current_uid == ROOT_UID) {
/* Get super block info */
- ret = ext2fs_open(dev_name,
0, 0, block_size
,
- unix_io_manager, &fs);
+ ret = ext2fs_open(dev_name,
EXT2_FLAG_64BITS, 0
,
+
block_size,
unix_io_manager, &fs);
if (ret) {
if (mode_flag & DETAIL) {
perror("Can't get super block info");