[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b29a7a19-f188-4cb7-8d9c-d03a854311d6@paragon-software.com>
Date: Fri, 16 Jan 2026 14:42:05 +0100
From: Konstantin Komarov <almaz.alexandrovich@...agon-software.com>
To: <sunliming@...ux.dev>
CC: <ntfs3@...ts.linux.dev>, <linux-kernel@...r.kernel.org>, sunliming
<sunliming@...inos.cn>, kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] fs/ntfs3: make ntfs_writeback_ops static
On 1/7/26 08:37, sunliming@...ux.dev wrote:
> From: sunliming <sunliming@...inos.cn>
>
> Fix below sparse warnings:
> fs/ntfs3/inode.c:972:34: sparse: sparse: symbol 'ntfs_writeback_ops' was not declared.
> Should it be static?
>
> Reported-by: kernel test robot <lkp@...el.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202601061424.nbKLNwC5-lkp@intel.com/
> Signed-off-by: sunliming <sunliming@...inos.cn>
> ---
> fs/ntfs3/inode.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ntfs3/inode.c b/fs/ntfs3/inode.c
> index b969ad7c3258..636aa77e20e4 100644
> --- a/fs/ntfs3/inode.c
> +++ b/fs/ntfs3/inode.c
> @@ -969,7 +969,7 @@ static ssize_t ntfs_writeback_range(struct iomap_writepage_ctx *wpc,
> }
>
>
> -const struct iomap_writeback_ops ntfs_writeback_ops = {
> +static const struct iomap_writeback_ops ntfs_writeback_ops = {
> .writeback_range = ntfs_writeback_range,
> .writeback_submit = iomap_ioend_writeback_submit,
> };
Applied, will be sent in the next pull request, thanks.
Regards,
Konstantin
Powered by blists - more mailing lists