From 04dd17822334871b23ea2862f7798fb0e0007777 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 11 May 2024 08:53:19 +0000 Subject: [PATCH] change otg to host mode --- kernel/fs/xfs/libxfs/xfs_ag_resv.h | 14 +------------- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/kernel/fs/xfs/libxfs/xfs_ag_resv.h b/kernel/fs/xfs/libxfs/xfs_ag_resv.h index c0352ed..8a8eb4b 100644 --- a/kernel/fs/xfs/libxfs/xfs_ag_resv.h +++ b/kernel/fs/xfs/libxfs/xfs_ag_resv.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2016 Oracle. All Rights Reserved. * Author: Darrick J. Wong <darrick.wong@oracle.com> @@ -34,18 +34,6 @@ args.len = 1; pag = xfs_perag_get(mp, agno); xfs_ag_resv_alloc_extent(pag, XFS_AG_RESV_RMAPBT, &args); - xfs_perag_put(pag); -} - -static inline void -xfs_ag_resv_rmapbt_free( - struct xfs_mount *mp, - xfs_agnumber_t agno) -{ - struct xfs_perag *pag; - - pag = xfs_perag_get(mp, agno); - xfs_ag_resv_free_extent(pag, XFS_AG_RESV_RMAPBT, NULL, 1); xfs_perag_put(pag); } -- Gitblit v1.6.2