From: Lino Sanfilippo Date: Mon, 8 Jul 2013 22:59:43 +0000 (-0700) Subject: fanotify: put duplicate code for adding vfsmount/inode marks into an own function X-Git-Tag: v3.11-rc1~67^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e9c070ca085439fbec9e9629dd6171ae325d4d8;p=pandora-kernel.git fanotify: put duplicate code for adding vfsmount/inode marks into an own function The code under the groups mark_mutex in fanotify_add_inode_mark() and fanotify_add_vfsmount_mark() is almost identical. So put it into a seperate function. Signed-off-by: Lino Sanfilippo Cc: Eric Paris Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed