diff options
author | Jan Kara <jack@suse.cz> | 2017-03-14 16:11:23 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-04-10 17:37:35 +0200 |
commit | 755b5bc681eb46de7bfaec196f85e30efd95bd9f (patch) | |
tree | 1fc0f867ae0e8edf6f672f43ed8f86ab658197f0 /samples/mei | |
parent | e911d8af87dba7642138f4320ca3db80629989f2 (diff) | |
download | linux-755b5bc681eb46de7bfaec196f85e30efd95bd9f.tar.gz |
fsnotify: Remove indirection from mark list addition
Adding notification mark to object list has been currently done through
fsnotify_add_{inode|vfsmount}_mark() helpers from
fsnotify_add_mark_locked() which call fsnotify_add_mark_list(). Remove
this unnecessary indirection to simplify the code.
Pushing all the locking to fsnotify_add_mark_list() also allows us to
allocate the connector structure with GFP_KERNEL mode.
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 'samples/mei')
0 files changed, 0 insertions, 0 deletions