diff options
| author | sunliming <sunliming@kylinos.cn> | 2026-01-07 15:37:09 +0800 |
|---|---|---|
| committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2026-01-15 05:58:00 +0100 |
| commit | 1dad2fff0261568e7fa6a1760619d88d0ef0aff3 (patch) | |
| tree | e1bc6453172051d03201e8d1c4f8b64c264d1cd7 | |
| parent | 08ce2fee1b869ecbfbd94e0eb2630e52203a2e03 (diff) | |
fs/ntfs3: make ntfs_writeback_ops static
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@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202601061424.nbKLNwC5-lkp@intel.com/
Signed-off-by: sunliming <sunliming@kylinos.cn>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
| -rw-r--r-- | fs/ntfs3/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, }; |
