diff options
author | Daisuke Nishimura <[email protected]> | 2009-10-26 16:50:23 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-10-29 07:39:32 -0700 |
commit | c36987e2ef32e1bb7850379515f21187cba44754 (patch) | |
tree | 0b0a6b6a54c2a80de86426a74367ec4b1f089b61 /fs/jbd/commit.c | |
parent | 2545f038f4af0ff9945d47c10f988418dda50140 (diff) |
mm: don't call pte_unmap() against an improper pte
There are some places where we do like:
pte = pte_map();
do {
(do break in some conditions)
} while (pte++, ...);
pte_unmap(pte - 1);
But if the loop breaks at the first loop, pte_unmap() unmaps invalid pte.
This patch is a fix for this problem.
Signed-off-by: Daisuke Nishimura <[email protected]>
Reviewd-by: KAMEZAWA Hiroyuki <[email protected]>
Acked-by: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions