From: Eric Paris Date: Fri, 18 Dec 2009 01:12:07 +0000 (-0500) Subject: fsnotify: use kmem_cache_zalloc to simplify event initialization X-Git-Tag: v2.6.36-rc1~303^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f3a539e3bd8ed2eafa532443723d56896153a00;p=pandora-kernel.git fsnotify: use kmem_cache_zalloc to simplify event initialization fsnotify event initialization is done entry by entry with almost everything set to either 0 or NULL. Use kmem_cache_zalloc and only initialize things that need non-zero initialization. Also means we don't have to change initialization entries based on the config options. Signed-off-by: Eric Paris --- Reading git-diff-tree failed