Jan Kara 4712e722f9 fsnotify: get rid of fsnotify_destroy_mark_locked()
fsnotify_destroy_mark_locked() is subtle to use because it temporarily
releases group->mark_mutex.  To avoid future problems with this
function, split it into two.

fsnotify_detach_mark() is the part that needs group->mark_mutex and
fsnotify_free_mark() is the part that must be called outside of
group->mark_mutex.  This way it's much clearer what's going on and we
also avoid some pointless acquisitions of group->mark_mutex.

Signed-off-by: Jan Kara <jack@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-09-04 16:54:41 -07:00
..
2015-06-30 19:44:57 -07:00
2015-06-23 18:02:01 -04:00
2015-06-23 18:01:59 -04:00
2015-09-03 12:57:48 -07:00
2015-08-07 13:58:05 +02:00
2015-06-25 17:00:42 -07:00
2015-08-16 12:35:44 -07:00
2015-08-13 12:32:04 -06:00
2015-04-21 16:16:02 -04:00
2015-08-13 12:32:04 -06:00
2015-08-13 12:32:04 -06:00
2015-08-07 14:06:35 +02:00
2015-09-04 16:54:41 -07:00
2015-08-11 10:01:24 +02:00
2015-04-11 22:29:40 -04:00
2015-07-09 11:42:21 -07:00
2015-08-13 12:32:04 -06:00
2015-07-23 20:59:40 +02:00
2015-08-12 15:28:45 -05:00
2015-07-23 20:59:40 +02:00
2015-08-13 12:32:04 -06:00
2015-08-04 23:23:50 -04:00