From: Steven Whitehouse Date: Thu, 12 Dec 2013 17:29:32 +0000 (+0000) Subject: GFS2: Clean up quota slot allocation X-Git-Tag: v3.14-rc1~140^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee2411a8db49a21bc55dc124e1b434ba194c8903;p=pandora-kernel.git GFS2: Clean up quota slot allocation Quota slot allocation has historically used a vector of pages and a set of homegrown find/test/set/clear bit functions. Since the size of the bitmap is likely to be based on the default qc file size, thats a couple of pages at most. So we ought to be able to allocate that as a single chunk, with a vmalloc fallback, just in case of memory fragmentation. We are then able to use the kernel's own find/test/set/clear bit functions, rather than rolling our own. Signed-off-by: Steven Whitehouse Cc: Abhijith Das --- Reading git-diff-tree failed