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:
ebc8d3c
)
libext2fs: fix build warning on Big Endian systems in closefs.c
author
Theodore Ts'o
<tytso@mit.edu>
Sun, 4 Jun 2017 23:28:35 +0000
(19:28 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Sun, 4 Jun 2017 23:28:35 +0000
(19:28 -0400)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/closefs.c
patch
|
blob
|
history
diff --git
a/lib/ext2fs/closefs.c
b/lib/ext2fs/closefs.c
index
76444c0
..
1d4d5b7
100644
(file)
--- a/
lib/ext2fs/closefs.c
+++ b/
lib/ext2fs/closefs.c
@@
-282,7
+282,7
@@
errcode_t ext2fs_flush2(ext2_filsys fs, int flags)
unsigned long fs_state;
__u32 feature_incompat;
struct ext2_super_block *super_shadow = 0;
- struct ext2_group_desc *group_shadow = 0;
+ struct
opaque_
ext2_group_desc *group_shadow = 0;
#ifdef WORDS_BIGENDIAN
struct ext2_group_desc *gdp;
dgrp_t j;
@@
-343,7
+343,7
@@
errcode_t ext2fs_flush2(ext2_filsys fs, int flags)
}
#else
super_shadow = fs->super;
- group_shadow =
ext2fs_group_desc(fs, fs->group_desc, 0)
;
+ group_shadow =
fs->group_desc
;
#endif
/*