Long Li
49cdc4e834
xfs: get rid of xfs_ag_resv_rmapbt_alloc
...
The pag in xfs_ag_resv_rmapbt_alloc() is already held when the struct
xfs_btree_cur is initialized in xfs_rmapbt_init_cursor(), so there is no
need to get pag again.
On the other hand, in xfs_rmapbt_free_block(), the similar function
xfs_ag_resv_rmapbt_free() was removed in commit 92a005448f ("xfs: get
rid of unnecessary xfs_perag_{get,put} pairs"), xfs_ag_resv_rmapbt_alloc()
was left because scrub used it, but now scrub has removed it. Therefore,
we could get rid of xfs_ag_resv_rmapbt_alloc() just like the rmap free
block, make the code cleaner.
Signed-off-by: Long Li <leo.lilong@huawei.com >
Reviewed-by: Christoph Hellwig <hch@lst.de >
Reviewed-by: Darrick J. Wong <djwong@kernel.org >
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org >
2024-07-04 14:36:13 +05:30
..
2024-04-22 18:00:47 +05:30
2024-07-04 14:36:13 +05:30
2024-07-02 11:37:01 -07:00
2024-02-22 12:43:40 -08:00
2024-07-04 12:44:16 +05:30
2024-02-22 12:40:12 -08:00
2024-07-04 12:44:16 +05:30
2024-07-02 11:37:03 -07:00
2024-04-23 07:47:00 -07:00
2024-04-15 14:58:51 -07:00
2024-05-02 07:48:37 -07:00
2024-05-02 07:48:36 -07:00
2024-04-23 07:47:00 -07:00
2024-05-27 15:55:52 +05:30
2024-05-27 15:55:52 +05:30
2024-07-02 11:37:01 -07:00
2024-02-22 12:39:45 -08:00
2024-07-02 11:37:01 -07:00
2024-07-02 11:36:55 -07:00
2024-02-22 12:43:36 -08:00
2024-02-22 12:43:36 -08:00
2024-02-28 14:04:30 +05:30
2024-02-22 12:37:35 -08:00
2024-07-04 12:44:16 +05:30
2024-07-04 12:44:16 +05:30
2024-04-30 09:45:18 +05:30
2024-04-23 07:46:57 -07:00
2024-05-02 07:48:36 -07:00
2024-07-04 12:46:46 +05:30
2024-04-15 14:59:01 -07:00
2024-04-15 14:58:52 -07:00
2024-07-01 09:32:29 +05:30
2024-04-15 14:58:52 -07:00
2024-04-15 14:58:52 -07:00
2024-07-01 09:32:29 +05:30
2024-02-13 18:07:34 +05:30
2024-07-02 11:37:00 -07:00
2024-07-02 11:37:00 -07:00
2021-10-14 09:19:33 -07:00
2024-04-15 14:54:19 -07:00
2024-04-26 11:21:46 +05:30
2024-04-15 14:58:53 -07:00
2024-07-02 11:37:00 -07:00
2024-06-26 14:29:25 +05:30
2024-04-23 16:55:17 -07:00
2024-07-02 11:37:01 -07:00
2024-02-22 12:40:49 -08:00
2024-07-02 11:37:01 -07:00
2024-04-15 14:54:03 -07:00
2024-02-13 18:07:34 +05:30
2024-06-26 14:29:25 +05:30
2021-08-19 10:07:14 -07:00
2024-05-03 11:20:06 +05:30
2024-05-03 11:20:06 +05:30
2024-07-02 11:36:59 -07:00
2024-07-02 11:36:59 -07:00
2024-04-23 07:46:57 -07:00
2024-04-15 14:54:24 -07:00
2024-04-23 07:47:01 -07:00
2024-07-02 11:37:00 -07:00
2024-04-23 07:47:04 -07:00
2024-04-23 07:47:04 -07:00
2022-05-11 17:12:09 +10:00
2024-07-02 11:37:01 -07:00
2024-02-22 12:39:40 -08:00
2024-07-02 11:37:07 -07:00
2024-07-02 11:37:07 -07:00
2024-07-04 14:36:13 +05:30
2024-02-22 12:43:39 -08:00
2024-07-02 11:37:05 -07:00
2024-07-02 11:37:05 -07:00
2024-04-22 18:00:47 +05:30
2024-04-22 18:00:47 +05:30
2024-06-10 11:38:12 +05:30
2024-03-25 10:17:18 +05:30
2024-07-02 11:36:57 -07:00
2024-04-15 14:58:57 -07:00
2024-04-15 14:58:57 -07:00
2024-07-02 11:36:56 -07:00
2024-07-01 09:32:29 +05:30
2022-04-28 10:25:59 -07:00
2024-04-23 07:46:59 -07:00
2024-04-23 07:46:59 -07:00
2023-10-17 16:24:22 -07:00
2024-02-22 12:40:51 -08:00