fsnotify: initialize the group->num_marks in a better place
authorEric Paris <eparis@redhat.com>
Fri, 18 Dec 2009 02:24:23 +0000 (21:24 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:58:51 +0000 (09:58 -0400)
commit36fddebaa8a9186d4f5817ab798a83400b2fb2e7
tree5fea41060cada4826677c12b7d4afa747841b124
parent19c2a0e1a2f60112c158342ba5f568f72b741c2c
fsnotify: initialize the group->num_marks in a better place

Currently the comments say that group->num_marks is held because the group
is on the fsnotify_group list.  This isn't strictly the case, we really
just hold the num_marks for the life of the group (any time group->refcnt
is != 0)  This patch moves the initialization stuff and makes it clear when
it is really being held.

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/group.c