[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YSSl4tPGeowannmy@codewreck.org>
Date: Tue, 24 Aug 2021 16:55:14 +0900
From: asmadeus@...ewreck.org
To: cgel.zte@...il.com, Jeff Layton <jlayton@...nel.org>
Cc: ericvh@...il.com, lucho@...kov.net,
v9fs-developer@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
ran.xiaokai@....com.cn, Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] fs: 9q: remove unnecessary label "out_err"
cgel.zte@...il.com wrote on Tue, Aug 24, 2021 at 12:45:03AM -0700:
> From: CGEL <ran.xiaokai@....com.cn>
>
> due to commit 798b2ae3cd58 ("Merge remote-tracking branch
> 'file-locks/locks-next'"), label "out_err" should be removed to
> avoid build warning.
That commit is not in master (it's a linux-next commit), you cannot
refer to a commit id that hasn't been merged in commit messages.
Also given it's a trivial merge commit so please take a minute to find
the real culprit (fs: remove mandatory file locking support) next time.
Given it's not merged yet, Jeff can still fix his patch in his branch,
I've added him to recipients -- can you remove the label?
I've never used mandatory file locking myself so I'll admit I didn't
really look at your patch the other day...
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: CGEL <ran.xiaokai@....com.cn>
> ---
> fs/9p/vfs_file.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c
> index 978666530d8e..d2d83163d6b0 100644
> --- a/fs/9p/vfs_file.c
> +++ b/fs/9p/vfs_file.c
> @@ -319,7 +319,7 @@ static int v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl)
> ret = v9fs_file_getlock(filp, fl);
> else
> ret = -EINVAL;
> -out_err:
> +
> return ret;
> }
Thanks,
--
Dominique
Powered by blists - more mailing lists