Skip to content

Commit 1dad2ff

Browse files
sunlimingaalexandrovich
authored andcommitted
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>
1 parent 08ce2fe commit 1dad2ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/ntfs3/inode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ static ssize_t ntfs_writeback_range(struct iomap_writepage_ctx *wpc,
969969
}
970970

971971

972-
const struct iomap_writeback_ops ntfs_writeback_ops = {
972+
static const struct iomap_writeback_ops ntfs_writeback_ops = {
973973
.writeback_range = ntfs_writeback_range,
974974
.writeback_submit = iomap_ioend_writeback_submit,
975975
};

0 commit comments

Comments
 (0)