diff options
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | 2010-10-07 13:09:34 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-10-24 20:12:20 -0400 |
commit | 41bdc602eca8738d6f3c71235744f72d888fe6b4 (patch) | |
tree | 93a747b3a9cab9fec548fef795d6fa4102b11558 /fs/nfsctl.c | |
parent | 81cfc9f1f4ad8d335367bb393bd042cc45b00047 (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 'fs/nfsctl.c')
0 files changed, 0 insertions, 0 deletions