From: Ken Chen Date: Mon, 14 Jan 2008 08:55:19 +0000 (-0800) Subject: hugetlbfs: fix quota leak X-Git-Tag: v2.6.24-rc8~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68842c9b94560e647e8e7cc75cbb3dbe59f6fcb5;p=pandora-kernel.git hugetlbfs: fix quota leak In the error path of both shared and private hugetlb page allocation, the file system quota is never undone, leading to fs quota leak. Fix them up. [akpm@linux-foundation.org: cleanup, micro-optimise] Signed-off-by: Ken Chen Acked-by: Adam Litke Cc: David Gibson Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed