| Submitter | Greg Kroah-Hartman |
|---|---|
| Date | 2009-11-06 22:15:05 |
| Message ID | <20091106221547.995120375@mini.kroah.org> |
| Download | mbox | patch |
| Permalink | /patch/58181/ |
| State | New |
| Headers | show |
Comments
Patch
--- a/fs/notify/inode_mark.c +++ b/fs/notify/inode_mark.c @@ -324,11 +324,11 @@ int fsnotify_add_mark(struct fsnotify_ma spin_lock(&group->mark_lock); spin_lock(&inode->i_lock); - entry->group = group; - entry->inode = inode; - lentry = fsnotify_find_mark_entry(group, inode); if (!lentry) { + entry->group = group; + entry->inode = inode; + hlist_add_head(&entry->i_list, &inode->i_fsnotify_mark_entries); list_add(&entry->g_list, &group->mark_entries);