[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <669736422.59715790.1614871379550.JavaMail.zimbra@redhat.com>
Date: Thu, 4 Mar 2021 10:22:59 -0500 (EST)
From: Bob Peterson <rpeterso@...hat.com>
To: Yang Li <yang.lee@...ux.alibaba.com>
Cc: agruenba@...hat.com, cluster-devel@...hat.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gfs2: make function gfs2_make_fs_ro() to void type
----- Original Message -----
> It fixes the following warning detected by coccinelle:
> ./fs/gfs2/super.c:592:5-10: Unneeded variable: "error". Return "0" on
> line 628
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
> ---
> fs/gfs2/ops_fstype.c | 4 +---
> fs/gfs2/super.c | 9 +++------
> fs/gfs2/super.h | 2 +-
> fs/gfs2/util.c | 2 +-
> 4 files changed, 6 insertions(+), 11 deletions(-)
Thanks. Your patch is now pushed to linux-gfs2/for-next.
I did one minor cleanup: Function gfs2_put_super in super.c no longer
needed the variable "error" so I removed it to avoid warnings.
https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git/commit/fs/gfs2?h=for-next&id=0e787a0bfabb8be323f575d5cdda48e607840eb5
Regards,
Bob Peterson
Powered by blists - more mailing lists