projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ext4: fix calculating inode blkcount for non-512 blocksize filesystems
[oweals/u-boot.git]
/
include
/
ext_common.h
diff --git
a/include/ext_common.h
b/include/ext_common.h
index 17c92f1750b4ec92fb855271a442c887f45bc35c..1c10c50474840cbeccde7c97e7b7fa8e2a762940 100644
(file)
--- a/
include/ext_common.h
+++ b/
include/ext_common.h
@@
-21,6
+21,7
@@
#define __EXT_COMMON__
#include <command.h>
#define SECTOR_SIZE 0x200
+#define LOG2_SECTOR_SIZE 9
/* Magic value used to identify an ext2 filesystem. */
#define EXT2_MAGIC 0xEF53