diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2017-10-30 21:14:56 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-10-31 17:54:56 +0100 |
commit | 3427ce7155412341aeb635c22c3ca2c2c9d1a978 (patch) | |
tree | fda47c368714c1737251aa4b94ad5697f588cf45 /fs/notify/fdinfo.c | |
parent | f37650f1c7c71cf5180b43229d13b421d81e7170 (diff) | |
download | linux-3427ce7155412341aeb635c22c3ca2c2c9d1a978.tar.bz2 |
fsnotify: clean up fsnotify()
Use helpers to get first and next marks from connector.
Also get rid of inode_node/vfsmount_node local variables, which just refers
to the same objects as iter_info. There was an srcu_dereference() for
foo_node, but that's completely superfluous since we've already done it
when obtaining foo_node.
Also get rid of inode_group/vfsmount_group local variables; checking
against non-NULL for these is the same as checking against non-NULL
inode_mark/vfsmount_mark.
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/notify/fdinfo.c')
0 files changed, 0 insertions, 0 deletions