diff options
author | 2008-07-19 01:01:22 +0900 | |
---|---|---|
committer | 2008-07-25 10:00:11 -0400 | |
commit | f636ffb420f0f9059c1d0b841afd691657246ad6 (patch) | |
tree | f1aaf8fedaf98f6143ea1a560c24430a14ac8def /fs/jbd2/commit.c | |
parent | [MTD][MTDPART] Cleanup and document the erase region handling (diff) | |
download | linux-dev-f636ffb420f0f9059c1d0b841afd691657246ad6.tar.xz linux-dev-f636ffb420f0f9059c1d0b841afd691657246ad6.zip |
[MTD][MTDPART] Fix a division by zero bug
When detecting a partition beyond the end of the device, skip most of
the initialisation, in particular those bits causing a division by zero.
Signed-off-by: Jörn Engel <joern@logfs.org>
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions