diff options
author | Jan Kara <jack@suse.com> | 2015-09-05 00:43:12 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-05 01:54:41 +0200 |
commit | 4712e722f91457e60723b9cef6265a74290efba9 (patch) | |
tree | b6b4bf48018d23c180cb7407ea1ff58402664e5c /scripts/spelling.txt | |
parent | fsnotify: remove mark->free_list (diff) | |
download | linux-4712e722f91457e60723b9cef6265a74290efba9.tar.xz linux-4712e722f91457e60723b9cef6265a74290efba9.zip |
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>
Diffstat (limited to 'scripts/spelling.txt')
0 files changed, 0 insertions, 0 deletions