diff options
author | Christoph Hellwig <hch@lst.de> | 2017-01-25 16:49:34 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-01-25 16:49:34 +0100 |
commit | 4dfa2b84118fd6c95202ae87e62adf5000ccd4d0 (patch) | |
tree | 8cb15b77239a4c5655f3090e627cd2bfa051ff01 /fs/xfs/xfs_mount.h | |
parent | xfs: verify dirblocklog correctly (diff) | |
download | linux-4dfa2b84118fd6c95202ae87e62adf5000ccd4d0.tar.xz linux-4dfa2b84118fd6c95202ae87e62adf5000ccd4d0.zip |
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>
Diffstat (limited to 'fs/xfs/xfs_mount.h')
0 files changed, 0 insertions, 0 deletions