aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/maps
diff options
context:
space:
mode:
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>2010-10-07 19:09:34 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-10-25 01:12:20 +0100
commit41bdc602eca8738d6f3c71235744f72d888fe6b4 (patch)
tree93a747b3a9cab9fec548fef795d6fa4102b11558 /drivers/mtd/maps
parent81cfc9f1f4ad8d335367bb393bd042cc45b00047 (diff)
jffs2: Reduce excessive scan of empty blocks
Scanning 1024 bytes to see if an EB is empty is a bit much. Lower it to 256 bytes and make sure the while loop is optimized. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/maps')
0 files changed, 0 insertions, 0 deletions