Andreas Gruenbacher 7b5747f43f GFS2: Fix allocation error bug with recursive rgrp glocking
Before this patch function gfs2_write_begin, upon discovering an
error, called gfs2_trim_blocks while the rgrp glock was still held.
That's because gfs2_inplace_release is not called until later.
This patch reorganizes the logic a bit so gfs2_inplace_release
is called to release the lock prior to the call to gfs2_trim_blocks,
thus preventing the glock recursion.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
2018-06-04 07:33:17 -05:00
..
2016-05-12 22:28:05 -04:00
2018-06-04 07:32:44 -05:00
2016-06-27 09:47:09 -05:00
2018-03-08 09:26:20 -07:00
2016-06-27 09:47:08 -05:00
2018-04-12 09:41:19 -07:00
2018-04-16 09:25:21 -07:00
2018-03-08 09:26:20 -07:00
2018-02-01 11:25:31 -07:00
2018-01-25 10:18:06 -07:00
2018-01-23 07:38:53 -07:00
2018-04-16 09:25:21 -07:00
2018-03-08 09:26:20 -07:00
2017-04-19 08:25:43 -04:00
2018-03-28 01:39:02 -04:00
2012-01-11 09:23:05 +00:00
2017-08-25 18:47:18 -05:00
2015-12-06 21:25:17 -05:00