fs: locks: remove init_once
authorMiklos Szeredi <miklos@szeredi.hu>
Thu, 7 Jul 2011 11:06:09 +0000 (13:06 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 15 Jul 2011 23:00:39 +0000 (19:00 -0400)
commitee19cc406d4c0ae3118f59e000984d935b372871
treecb6e5021c3cabaf3312a1125c4448fc85ac46f2d
parentae82a8d06fee573def55b63868b1ea109461a531
fs: locks: remove init_once

From: Miklos Szeredi <mszeredi@suse.cz>

Remove SLAB initialization entirely, as suggested by Bruce and Linus.
Allocate with __GFP_ZERO instead and only initialize list heads.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/locks.c