diff options
author | Christoph Hellwig <hch@lst.de> | 2019-11-20 21:18:50 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-11-22 19:17:09 +0300 |
commit | 199e9ba4e4a9927f5addb644c1a1e1002e68cc30 (patch) | |
tree | c9597500a8e4ffb1c621395a4d9deef6a9bfa4e1 /fs/xfs/xfs_sysctl.c | |
parent | 45feef8f50b94d56d6a433ad5baf5cdf58e3db98 (diff) | |
download | linux-199e9ba4e4a9927f5addb644c1a1e1002e68cc30.tar.xz |
xfs: improve the xfs_dabuf_map calling conventions
Use a flags argument with the XFS_DABUF_MAP_HOLE_OK flag to signal that
a hole is okay and not corruption, and return 0 with *nmap set to 0 to
signal that case in the return value instead of a nameless -1 return
code.
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_sysctl.c')
0 files changed, 0 insertions, 0 deletions