summaryrefslogtreecommitdiff
path: root/fs/configfs
diff options
context:
space:
mode:
authorHillf Danton <dhillf@gmail.com>2012-01-20 14:34:13 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-23 08:38:48 -0800
commit409eb8c2611b4310947a150af988111f7f52ab15 (patch)
treea410c7c9c5a58643da7b4c2abdb7796d1255f048 /fs/configfs
parent6568d4a9c9ff16d6c4f0b14dfea567806ce579e4 (diff)
downloadlinux-3.10-409eb8c2611b4310947a150af988111f7f52ab15.tar.gz
linux-3.10-409eb8c2611b4310947a150af988111f7f52ab15.tar.bz2
linux-3.10-409eb8c2611b4310947a150af988111f7f52ab15.zip
mm/hugetlb.c: undo change to page mapcount in fault handler
Page mapcount should be updated only if we are sure that the page ends up in the page table otherwise we would leak if we couldn't COW due to reservations or if idx is out of bounds. Signed-off-by: Hillf Danton <dhillf@gmail.com> Reviewed-by: Michal Hocko <mhocko@suse.cz> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/configfs')
0 files changed, 0 insertions, 0 deletions