commit | 9573f79355ff3711c98227d14a9b7f4cb3222b97 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Thu Apr 03 14:46:34 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Apr 03 16:20:51 2014 -0700 |
tree | b1ad8d66757b538cf67a570332ae263e2510fc50 | |
parent | f083441ba86acb9e2ef9c1d1747725e488c8b1ff [diff] |
fanotify: convert access_mutex to spinlock access_mutex is used only to guard operations on access_list. There's no need for sleeping within this lock so just make a spinlock out of it. Signed-off-by: Jan Kara <jack@suse.cz> 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>