commit | a03e2e4f078365428bb4317989cb5d1d6563cfe9 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Wed Mar 15 09:41:15 2017 +0100 |
committer | Jan Kara <jack@suse.cz> | Mon Apr 10 17:37:35 2017 +0200 |
tree | daa8ada03fa6b829a06482cbda65ffd0da044421 | |
parent | f06fd98759451876f51607f60abd74c89b141610 [diff] |
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>