Christoph Hellwig 4dfa2b8411 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>
2017-01-25 07:49:34 -08:00
..
2016-12-22 11:25:24 +00:00
2016-12-25 17:21:23 +01:00
2016-12-26 20:29:25 -08:00
2016-12-25 17:21:22 +01:00
2017-01-14 19:31:40 -05:00
2016-12-05 19:01:16 -05:00
2016-09-27 18:47:38 -04:00
2016-12-14 21:35:31 -08:00
2016-12-14 23:48:11 -05:00
2016-12-03 20:51:35 -05:00
2016-12-16 16:30:49 -05:00
2016-12-05 19:03:49 -05:00
2016-11-30 08:38:07 +01:00
2016-12-25 17:21:22 +01:00