lkml.org 
[lkml]   [2021]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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@intel.com>
Signed-off-by: kernel test robot <lkp@intel.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)
\
 
 \ /
  Last update: 2021-07-19 07:36    [W:0.041 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site