diff options
author | Jan Kara <jack@suse.cz> | 2017-03-15 09:41:15 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-04-10 17:37:35 +0200 |
commit | a03e2e4f078365428bb4317989cb5d1d6563cfe9 (patch) | |
tree | daa8ada03fa6b829a06482cbda65ffd0da044421 /arch/mips/power/cpu.c | |
parent | fsnotify: Move locking into fsnotify_find_mark() (diff) | |
download | linux-a03e2e4f078365428bb4317989cb5d1d6563cfe9.tar.xz linux-a03e2e4f078365428bb4317989cb5d1d6563cfe9.zip |
fsnotify: Determine lock in fsnotify_destroy_marks()
Instead of passing spinlock into fsnotify_destroy_marks() determine it
directly in that function from the connector type. This will reduce code
churn when changing lock protecting list of marks.
Reviewed-by: Miklos Szeredi <mszeredi@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'arch/mips/power/cpu.c')
0 files changed, 0 insertions, 0 deletions