summaryrefslogtreecommitdiff
path: root/include/ext_common.h
diff options
context:
space:
mode:
authorStefan Brüns <stefan.bruens@rwth-aachen.de>2016-09-06 04:36:52 +0200
committerTom Rini <trini@konsulko.com>2016-09-23 09:02:42 -0400
commit290ce2f95a7bd3c8a963084b6abab6881197e1df (patch)
tree10c8df3bfbb2914af3d72ea37786329fa3d5e77d /include/ext_common.h
parent87a40b6e037ce73cb7c3ac93b2a049d5299b92c8 (diff)
downloadu-boot-imx-290ce2f95a7bd3c8a963084b6abab6881197e1df.zip
u-boot-imx-290ce2f95a7bd3c8a963084b6abab6881197e1df.tar.gz
u-boot-imx-290ce2f95a7bd3c8a963084b6abab6881197e1df.tar.bz2
ext4: Use correct value for inode size even on revision 0 filesystems
fs->inodesz is already correctly (i.e. dependent on fs revision) initialized in ext4fs_mount. Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'include/ext_common.h')
-rw-r--r--include/ext_common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/ext_common.h b/include/ext_common.h
index 4cd2aa7..25216ca 100644
--- a/include/ext_common.h
+++ b/include/ext_common.h
@@ -52,8 +52,6 @@
#define LOG2_BLOCK_SIZE(data) (le32_to_cpu \
(data->sblock.log2_block_size) \
+ EXT2_MIN_BLOCK_LOG_SIZE)
-#define INODE_SIZE_FILESYSTEM(data) (le16_to_cpu \
- (data->sblock.inode_size))
#define EXT2_FT_DIR 2
#define SUCCESS 1