Messages in this thread Patch in this message | | | Date | Mon, 19 Jul 2021 13:35:36 +0800 | From | kernel test robot <> | 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)
| |