summaryrefslogtreecommitdiff
path: root/fs/ext2/ext2fs.c
AgeCommit message (Collapse)Author
2010-08-23ext2fs: Fix optimization bug for doubly-indirect block pointersAaron Pace
Doubly-indirect block numbers are compared against the first-level indirect block when checking for a cached copy. This is causing the doubly-indirect block to be re-read each time it is accessed. Repairing this reduces load time for a 70M file from 72 seconds to 38 seconds. Change-Id: I497e1f063f0d596d95171e42d1c39dc2c6aedf38 Signed-off-by: Aaron Pace <Aaron.Pace@alcatel-lucent.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3975 Tested-by: Michael BRANDT <michael.brandt@stericsson.com> Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
2009-11-20fix wrong inode size for rev#0 ext2fsMichael Brandt
extfs.c assumes that there is always a valid inode_size field in the superblock. But this is not true for ext2fs rev 0. Such ext2fs images are for instance generated by genext2fs. Symptoms on ARM machines can be messages like: "raise: Signal # 8 caught" This fix checks for rev 0 and uses then 128 bytes as inode size.
2009-07-28ext2: fix inode size and calculationsWeirich, Bernhard
Signed-off-by: unsik Kim <donari75@gmail.com> Signed-off-by: Bernhard Weirich <bernhard.weirich@riedel.net> Signed-off-by: Wolfgang Denk <wd@denx.de> Tested-by: Wolfgang Denk <wd@denx.de>
2008-08-31fs: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-01-09Fix memset bug in ext2fs_read_file()Wolfgang Denk
ext2fs_read_file() had the function arguments swapped. Pointed out by Mike Montour, 19 Dec 2007 22:34:25 -0800 Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-07-10fs/: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger
Fixed some broken instances of "#ifdef CMD_CFG_IDE" too. Those always evaluated TRUE, and thus were always compiled even when IDE really wasn't defined/wanted. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-09fs/: Remove obsolete references to CONFIG_COMMANDSJon Loeliger
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-04fs/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger
This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-01-18Add VGA support (CT69000) to CPCI750 board.Stefan Roese
Insert missing __le32_to_cpu() for filesize in ext2fs_read_file(). Patch by Reinhard Arlt, 30 Dec 2005
2005-02-04* Patch by Cajus Hahn, 04 Feb 2005:wdenk
- don't insist on leading '/' for filename in ext2load - set default partition to useful value (1) in ext2load * Patch by Andrew Dyer, 08 Jan 2005: fix wrong return codes in ext2 code
2004-12-19Cleanup: avoid trigraph warning in fs/ext2/ext2fs.c; rename UC100 -> uc100wdenk
2004-12-16Code cleanup.wdenk
2004-12-16ext2fs support addedstroese