commit | 4dfa2b84118fd6c95202ae87e62adf5000ccd4d0 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Jan 25 07:49:34 2017 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Wed Jan 25 07:49:34 2017 -0800 |
tree | 8cb15b77239a4c5655f3090e627cd2bfa051ff01 | |
parent | 83d230eb5c638949350f4761acdfc0af5cb1bc00 [diff] |
xfs: only update mount/resv fields on success in __xfs_ag_resv_init Try to reserve the blocks first and only then update the fields in or hanging off the mount structure. This way we can call __xfs_ag_resv_init again after a previous failure. 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>