diff options
author | Jan Kara <[email protected]> | 2016-10-07 16:56:52 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-10-07 18:46:26 -0700 |
commit | c21dbe20f606219fe54faf555b7bc5565487c58f (patch) | |
tree | 91e57fe4aad1f1358f099521b570d9daf7b6a758 /lib/memory-notifier-error-inject.c | |
parent | 1404ff3cc3a14cb1fe8535e30b87d20da9513767 (diff) |
fsnotify: convert notification_mutex to a spinlock
notification_mutex is used to protect the list of pending events. As such
there's no reason to use a sleeping lock for it. Convert it to a
spinlock.
[[email protected]: fixed version]
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Jan Kara <[email protected]>
Reviewed-by: Lino Sanfilippo <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Cc: Miklos Szeredi <[email protected]>
Cc: Eric Paris <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions