diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-01-23 17:01:19 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-01-26 14:32:26 -0800 |
commit | f48e2df8a877ca1c19d92cfd7e74cc5956fa84cb (patch) | |
tree | f3643a33c702847898c6717d7c787c6f44ffc478 /fs/xfs/xfs_buf.c | |
parent | ee647f85cb81b09bbfa2886954828ed03fa3ec38 (diff) | |
download | lwn-f48e2df8a877ca1c19d92cfd7e74cc5956fa84cb.tar.gz lwn-f48e2df8a877ca1c19d92cfd7e74cc5956fa84cb.zip |
xfs: make xfs_*read_agf return EAGAIN to ALLOC_FLAG_TRYLOCK callers
Refactor xfs_read_agf and xfs_alloc_read_agf to return EAGAIN if the
caller passed TRYLOCK and we weren't able to get the lock; and change
the callers to recognize this.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_buf.c')
0 files changed, 0 insertions, 0 deletions