summaryrefslogtreecommitdiff
path: root/fs/notify/fanotify/fanotify.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2017-10-30 21:14:56 +0100
committerJan Kara <jack@suse.cz>2017-10-31 17:54:56 +0100
commit3427ce7155412341aeb635c22c3ca2c2c9d1a978 (patch)
treefda47c368714c1737251aa4b94ad5697f588cf45 /fs/notify/fanotify/fanotify.h
parentf37650f1c7c71cf5180b43229d13b421d81e7170 (diff)
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/fanotify/fanotify.h')
0 files changed, 0 insertions, 0 deletions