inotify: update the group mask on mark addition

Seperating the addition and update of marks in inotify resulted in a
regression in that inotify never gets events. The inotify group mask is
always 0. This mask should be updated any time a new mark is added.

Signed-off-by: Eric Paris <eparis@redhat.com>

+4
+4
fs/notify/inotify/inotify_user.c
··· 591 591 /* match the ref from fsnotify_init_markentry() */ 592 592 fsnotify_put_mark(&tmp_ientry->fsn_entry); 593 593 594 + /* if this mark added a new event update the group mask */ 595 + if (mask & ~group->mask) 596 + fsnotify_recalc_group_mask(group); 597 + 594 598 out_err: 595 599 if (ret < 0) 596 600 kmem_cache_free(inotify_inode_mark_cachep, tmp_ientry);