commit | 5e9c070ca085439fbec9e9629dd6171ae325d4d8 | [log] [tgz] |
---|---|---|
author | Lino Sanfilippo <LinoSanfilippo@gmx.de> | Mon Jul 08 15:59:43 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jul 09 10:33:20 2013 -0700 |
tree | 7d520b51c4b440a6b112e6dbe7a128bcb2a0b0c5 | |
parent | 7b18527c4a95397b443c8c22f75634d5d11c9d47 [diff] |
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 <LinoSanfilippo@gmx.de> Cc: Eric Paris <eparis@redhat.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>