/* given a group and inode, find the mark associated with that combination. if found take a reference to that mark and return it, else return NULL  */
struct fsnotify_mark_entry* fsnotify_find_mark_entry(struct fsnotify_group *group, struct inode *inode)
/* given a group and inode, find the mark associated with that combination. if found take a reference to that mark and return it, else return NULL  */
struct fsnotify_mark_entry* fsnotify_find_mark_entry(struct fsnotify_group *group, struct inode *inode)
{
	struct fsnotify_mark_entry *entry;
	struct hlist_node *pos;
	assert_spin_locked(&inode->i_lock);
	hlist_for_each_entry(entry, pos, &inode->i_fsnotify_mark_entries, i_list) {
		if (entry->group == group) {
			fsnotify_get_mark(entry);
			return entry;
		}
	}
	return NULL;
}