Content-Type: multipart/mixed; boundary="===============6411096167053879482==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] xfs: xfs_reflink_find_shared can be static Date: Fri, 03 Dec 2021 15:10:43 +0800 Message-ID: <20211203071043.GA29616@3a00b5dcfc8d> In-Reply-To: <20211203000111.2800982-6-david@fromorbit.com> List-Id: --===============6411096167053879482== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable fs/xfs/xfs_reflink.c:129:1: warning: symbol 'xfs_reflink_find_shared' was n= ot declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- xfs_reflink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/xfs_reflink.c b/fs/xfs/xfs_reflink.c index d8281b002dff0..dcf509930a19c 100644 --- a/fs/xfs/xfs_reflink.c +++ b/fs/xfs/xfs_reflink.c @@ -125,7 +125,7 @@ * shared blocks. If there are no shared extents, fbno and flen will * be set to NULLAGBLOCK and 0, respectively. */ -int +static int xfs_reflink_find_shared( struct xfs_perag *pag, struct xfs_trans *tp, --===============6411096167053879482==--