[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20211230075014.GA25567@87202af68ceb>
Date: Thu, 30 Dec 2021 15:50:14 +0800
From: kernel test robot <lkp@...el.com>
To: Goldwyn Rodrigues <rgoldwyn@...e.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [RFC PATCH goldwynr] btrfs: btrfs_buffered_read_iomap_ops can be
static
fs/btrfs/inode.c:8440:24: warning: symbol 'btrfs_buffered_read_iomap_ops' was not declared. Should it be static?
Fixes: 3f7d55b62cad ("btrfs: iomap_begin() for buffered read")
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: kernel test robot <lkp@...el.com>
---
inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index b50cf3192fa9e..ca8df86d42002 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -8437,7 +8437,7 @@ static int btrfs_read_iomap_end(struct inode *inode, loff_t pos,
return 0;
}
-const struct iomap_ops btrfs_buffered_read_iomap_ops = {
+static const struct iomap_ops btrfs_buffered_read_iomap_ops = {
.iomap_begin = btrfs_read_iomap_begin,
.iomap_end = btrfs_read_iomap_end,
};
Powered by blists - more mailing lists