• M
    fsnotify: clean up fsnotify() · 3427ce71
    Miklos Szeredi 提交于
    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: NAmir Goldstein <amir73il@gmail.com>
    Signed-off-by: NMiklos Szeredi <mszeredi@redhat.com>
    Signed-off-by: NJan Kara <jack@suse.cz>
    3427ce71
fsnotify.c 11.1 KB