[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210719053536.GA4772@67baee1309a0>
Date: Mon, 19 Jul 2021 13:35:36 +0800
From: kernel test robot <lkp@...el.com>
To: Allison Henderson <allison.henderson@...cle.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Dave Chinner <dchinner@...hat.com>
Subject: [RFC PATCH allisonhenderson-xfs_work] xfs:
xfs_calc_namespace_reservations can be static
fs/xfs/libxfs/xfs_trans_resv.c:854:1: warning: symbol 'xfs_calc_namespace_reservations' was not declared. Should it be static?
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: kernel test robot <lkp@...el.com>
---
xfs_trans_resv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/xfs/libxfs/xfs_trans_resv.c b/fs/xfs/libxfs/xfs_trans_resv.c
index 9cc18a9354525..f307275eb6368 100644
--- a/fs/xfs/libxfs/xfs_trans_resv.c
+++ b/fs/xfs/libxfs/xfs_trans_resv.c
@@ -850,7 +850,7 @@ xfs_calc_sb_reservation(
* addressed later when modifications are made to ensure parent attribute
* modifications can be done atomically with the rename operation.
*/
-void
+static void
xfs_calc_namespace_reservations(
struct xfs_mount *mp,
struct xfs_trans_resv *resp)
Powered by blists - more mailing lists