summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_extent_busy.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-11-03 20:18:30 -0800
committerDarrick J. Wong <djwong@kernel.org>2024-11-05 13:38:25 -0800
commit8dcf5e617f0ed2c30e55989669982bb03f60e3f8 (patch)
treeb9cbd2a8151500424d22da454299f06fd55b6e54 /fs/xfs/xfs_extent_busy.h
parent4a137e09151e3abe9439601013126d877fa25775 (diff)
downloadlinux-8dcf5e617f0ed2c30e55989669982bb03f60e3f8.tar.gz
linux-8dcf5e617f0ed2c30e55989669982bb03f60e3f8.tar.bz2
linux-8dcf5e617f0ed2c30e55989669982bb03f60e3f8.zip
xfs: remove the mount field from struct xfs_busy_extents
The mount field is only passed to xfs_extent_busy_clear, which never uses it. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_extent_busy.h')
-rw-r--r--fs/xfs/xfs_extent_busy.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/xfs_extent_busy.h b/fs/xfs/xfs_extent_busy.h
index 72be61912c00..7241035ce4ef 100644
--- a/fs/xfs/xfs_extent_busy.h
+++ b/fs/xfs/xfs_extent_busy.h
@@ -33,7 +33,6 @@ struct xfs_extent_busy {
* to discard completion.
*/
struct xfs_busy_extents {
- struct xfs_mount *mount;
struct list_head extent_list;
struct work_struct endio_work;
@@ -54,8 +53,7 @@ xfs_extent_busy_insert_discard(struct xfs_perag *pag, xfs_agblock_t bno,
xfs_extlen_t len, struct list_head *busy_list);
void
-xfs_extent_busy_clear(struct xfs_mount *mp, struct list_head *list,
- bool do_discard);
+xfs_extent_busy_clear(struct list_head *list, bool do_discard);
int
xfs_extent_busy_search(struct xfs_perag *pag, xfs_agblock_t bno,