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-04-06 09:47:01 +10:00
2016-04-06 09:47:01 +10:00
2016-10-04 18:06:40 -07:00
2013-05-07 18:45:36 -05:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2016-11-30 14:37:15 +11:00
2016-10-04 11:05:44 -07:00
2016-12-14 21:35:31 -08:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2017-01-23 10:55:07 -08:00
2016-06-01 17:38:15 +10:00
2013-05-07 18:45:36 -05:00
2013-05-07 18:45:36 -05:00