diff options
author | Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> | 2014-05-22 10:42:43 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2014-05-22 10:42:43 +1000 |
commit | 9e9df4dda900317c0a431d096d1dface033ebbd9 (patch) | |
tree | 46dd60e1feeeaac7347a3be1834ef1dedcf09230 /lib | |
parent | 3863b7ea2d73aff25266cc19ef971fdb668a4ce5 (diff) |
mm/pagewalk.c: move pte null check
huge_pte_offset() can return NULL, so we need check it before trying to
take page table lock to avoid a crash.
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Reported-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions