diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-05-31 18:07:21 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-06-01 18:00:16 +0200 |
commit | 8ad560d2565e64b8be0cf5901c1e8fe034ac5599 (patch) | |
tree | a137e6d45738351525fba7e4852d55721214e88b /fs/xfs/xfs_rtalloc.h | |
parent | xfs: xfs_rtbuf_get should check the bmapi_read results (diff) | |
download | linux-8ad560d2565e64b8be0cf5901c1e8fe034ac5599.tar.xz linux-8ad560d2565e64b8be0cf5901c1e8fe034ac5599.zip |
xfs: strengthen rtalloc query range checks
Strengthen the rtalloc range query checks to make sure that the keys do
not run off the end of the realtime device inappropriately. Note that
the query range functions require units of rt extents, not blocks,
despite the type name.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.h')
0 files changed, 0 insertions, 0 deletions