diff options
| author | 2009-12-17 21:24:27 -0500 | |
|---|---|---|
| committer | 2010-07-28 09:58:57 -0400 | |
| commit | ba643f04cdda170215c8820acd3e201936fc512d (patch) | |
| tree | ad871aa57096cd228f666405f370170f70b26968 /fs/namespace.c | |
| parent | fsnotify: split generic and inode specific mark code (diff) | |
| download | wireguard-linux-ba643f04cdda170215c8820acd3e201936fc512d.tar.xz wireguard-linux-ba643f04cdda170215c8820acd3e201936fc512d.zip | |
fsnotify: clear marks to 0 in fsnotify_init_mark
Currently fsnotify_init_mark sets some fields to 0/NULL. Some users
already used some sorts of zalloc, some didn't. This patch uses memset to
explicitly zero everything in the fsnotify_mark when it is initialized so we
don't have to be careful if fields are later added to marks.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions
