Linux CM: Use kernel allocator directly
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 17 Apr 2011 22:43:51 +0000 (23:43 +0100)
committerDerrick Brashear <shadow@dementia.org>
Sun, 5 Jun 2011 15:08:36 +0000 (08:08 -0700)
commit7a70c2907b0435653098a611a140fea1ac0b2fac
treeb8cc5f926c9ff57e66a50d3e395da2c4692d8330
parent45071f4bc0a8631eb6bd09c73a24de33714fa151
Linux CM: Use kernel allocator directly

In another few locations within the Linux portion of the cache
manager, directly use the kernel allocator. We can do so here
because we can guarantee that the amount of memory being allocated
is less than the page size, and there is a kfree() in all of the
exit paths, so we don't need the magic freeing behaviour, either.

Change-Id: I9c9f3a0b8243b66cb081cd2b35f0d27aaa378934
Reviewed-on: http://gerrit.openafs.org/4752
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_vfsops.c
src/afs/LINUX/osi_vnodeops.c