diff options
author | Christoph Hellwig | 2019-09-03 08:13:13 -0700 |
---|---|---|
committer | Darrick J. Wong | 2019-09-03 08:13:13 -0700 |
commit | eb77b23b565e7e1d2cc3a7d9e4cc186fb54e81a8 (patch) | |
tree | 68d315c1ce1e57593275eeb6b19871a4aaf7a32a /fs/xfs/xfs_rtalloc.c | |
parent | 1baa2800e62d7d58c04cb871a6e4189fc3e1ccf1 (diff) |
xfs: add a xfs_valid_startblock helper
Add a helper that validates the startblock is valid. This checks for a
non-zero block on the main device, but skips that check for blocks on
the realtime device.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
0 files changed, 0 insertions, 0 deletions