[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220726113918.qj7x53uw4e7u7hld@quack3>
Date: Tue, 26 Jul 2022 13:39:18 +0200
From: Jan Kara <jack@...e.cz>
To: Xin Gao <gaoxin@...rlc.com>
Cc: jack@...e.cz, amir73il@...il.com, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fsnotify: Fix comment typo
On Sat 23-07-22 03:46:39, Xin Gao wrote:
> The double `if' is duplicated in line 104, remove one.
>
> Signed-off-by: Xin Gao <gaoxin@...rlc.com>
Thanks! I've added the patch to my tree.
Honza
> ---
> fs/notify/fsnotify.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/notify/fsnotify.c b/fs/notify/fsnotify.c
> index 6eee19d15e8c..a9773167d695 100644
> --- a/fs/notify/fsnotify.c
> +++ b/fs/notify/fsnotify.c
> @@ -100,7 +100,7 @@ void fsnotify_sb_delete(struct super_block *sb)
> * Given an inode, first check if we care what happens to our children. Inotify
> * and dnotify both tell their parents about events. If we care about any event
> * on a child we run all of our children and set a dentry flag saying that the
> - * parent cares. Thus when an event happens on a child it can quickly tell if
> + * parent cares. Thus when an event happens on a child it can quickly tell
> * if there is a need to find a parent and send the event to the parent.
> */
> void __fsnotify_update_child_dentry_flags(struct inode *inode)
> --
> 2.30.2
>
--
Jan Kara <jack@...e.com>
SUSE Labs, CR
Powered by blists - more mailing lists