fsnotify: use kmem_cache_zalloc to simplify event initialization
authorEric Paris <eparis@redhat.com>
Fri, 18 Dec 2009 01:12:07 +0000 (20:12 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:58:20 +0000 (09:58 -0400)
commit6f3a539e3bd8ed2eafa532443723d56896153a00
tree73c85129825daf947c32c2e1f6e9e97ed674b108
parentf0553af054d31f48a75fddd3ef8beb5c39715019
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 <eparis@redhat.com>
fs/notify/notification.c