Skip to content
Commit 089ec2f8 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Darrick J. Wong
Browse files

xfs: simplify xfs_rtallocate_extent



We can deduce the allocation type from the bno argument, and do the
return without prod much simpler internally.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
[darrick: fix the macro for the non-rt build]
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
parent 410d17f6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment