]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fsnotify: use a mutex instead of a spinlock to protect a groups mark list
authorLino Sanfilippo <LinoSanfilippo@gmx.de>
Tue, 14 Jun 2011 15:29:50 +0000 (17:29 +0200)
committerEric Paris <eparis@redhat.com>
Mon, 26 Mar 2012 15:21:15 +0000 (11:21 -0400)
commit5d7c7ca90faa2717cc1a425d558893bc9df59ea2
tree2b8b9d34d88efa61303cf0c19c89af9cab5d68e4
parentd6651e5fee79435ab2b752cd87ed8557ab91a49b
fsnotify: use a mutex instead of a spinlock to protect a groups mark list

Replaces the groups mark_lock spinlock with a mutex. Using a mutex instead
of a spinlock results in more flexibility (i.e it allows to sleep while the
lock is held).

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/group.c
fs/notify/inode_mark.c
fs/notify/mark.c
fs/notify/vfsmount_mark.c
include/linux/fsnotify_backend.h