Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fsnotify: Fix comment typo

The double `if' is duplicated in line 104, remove one.

Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220722194639.18545-1-gaoxin@cdjrlc.com

authored by

Xin Gao and committed by
Jan Kara
feee1ce4 e252f2ed

+1 -1
+1 -1
fs/notify/fsnotify.c
··· 100 100 * Given an inode, first check if we care what happens to our children. Inotify 101 101 * and dnotify both tell their parents about events. If we care about any event 102 102 * on a child we run all of our children and set a dentry flag saying that the 103 - * parent cares. Thus when an event happens on a child it can quickly tell if 103 + * parent cares. Thus when an event happens on a child it can quickly tell 104 104 * if there is a need to find a parent and send the event to the parent. 105 105 */ 106 106 void __fsnotify_update_child_dentry_flags(struct inode *inode)