diff options
author | Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> | 2010-09-10 04:23:06 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-24 00:29:19 (GMT) |
commit | a850ea30374ebed32a0724742601861853fde869 (patch) | |
tree | 436dda49aae61ac7c228a7fadb53fd0632666827 /mm/fadvise.c | |
parent | 56c9cfb13c9b6516017eea4e8cbe22ea02e07ee6 (diff) | |
download | linux-fsl-qoriq-a850ea30374ebed32a0724742601861853fde869.tar.xz |
hugetlb, rmap: add BUG_ON(!PageLocked) in hugetlb_add_anon_rmap()
Confirming page lock is held in hugetlb_add_anon_rmap() may be useful
to detect possible future problems.
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/fadvise.c')
0 files changed, 0 insertions, 0 deletions