• Eric Paris's avatar
    fsnotify: initialize the group->num_marks in a better place · 36fddeba
    Eric Paris authored
    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: default avatarEric Paris <eparis@redhat.com>
    36fddeba
group.c 5.97 KB