summaryrefslogtreecommitdiff
path: root/fs
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 /fs
parent87a40b6e037ce73cb7c3ac93b2a049d5299b92c8 (diff)
downloadu-boot-290ce2f95a7bd3c8a963084b6abab6881197e1df.tar.gz
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 'fs')
-rw-r--r--fs/ext4/ext4_write.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/ext4_write.c b/fs/ext4/ext4_write.c
index c55e2528e3..a438be0d6e 100644
--- a/fs/ext4/ext4_write.c
+++ b/fs/ext4/ext4_write.c
@@ -609,7 +609,6 @@ int ext4fs_init(void)
/* populate fs */
fs->blksz = EXT2_BLOCK_SIZE(ext4fs_root);
- fs->inodesz = INODE_SIZE_FILESYSTEM(ext4fs_root);
fs->sect_perblk = fs->blksz >> fs->dev_desc->log2blksz;
/* get the superblock */