From: Eric Paris Date: Wed, 18 Aug 2010 16:25:49 +0000 (-0400) Subject: fanotify: do not dereference inode_mark when it is unset X-Git-Tag: v2.6.36-rc3~6^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faa9560ae76ef50a3cbfb1a6afc0343fd8172374;p=pandora-kernel.git fanotify: do not dereference inode_mark when it is unset The fanotify code is supposed to get the group from the mark. It accidentally only used the inode_mark. If the vfsmount_mark was set but not the inode_mark it would deref the NULL inode_mark. Get the group from the correct place. Reported-by: Tvrtko Ursulin Signed-off-by: Eric Paris --- Reading git-diff-tree failed