Ken Chen 68842c9b94 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 <kenchen@google.com>
Acked-by: Adam Litke <agl@us.ibm.com>
Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: William Lee Irwin III <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-01-14 08:52:23 -08:00
..
2007-07-17 10:22:59 -07:00
2008-01-14 08:52:23 -08:00
2007-10-16 09:43:02 -07:00
2007-10-20 01:27:18 +02:00
2007-10-20 02:13:26 +02:00
2007-02-15 09:57:03 -08:00
2007-10-18 14:37:31 -07:00
2007-05-21 09:18:19 -07:00
2007-10-20 15:04:06 -07:00
2007-10-20 01:27:18 +02:00
2007-10-17 08:42:45 -07:00
2007-11-28 11:04:28 -08:00
2008-01-02 13:04:48 -08:00
2007-12-09 10:17:52 -08:00
2008-01-02 13:04:48 -08:00
2007-10-20 01:27:18 +02:00
2007-10-17 08:42:55 -07:00
2007-11-14 18:45:41 -08:00
2007-10-20 01:27:18 +02:00
2007-10-20 01:27:18 +02:00
2007-11-14 18:45:42 -08:00