Bob Peterson 240c6235df GFS2: Clear gl_object when deleting an inode in gfs2_delete_inode
This patch adds some calls to clear gl_object in function
gfs2_delete_inode. Since we are deleting the inode, and the glock
typically outlives the inode in core, we must clear gl_object
so subsequent use of the glock (e.g. for a new inode in its place)
will not have the old pointer sitting there. In error cases we
need to tidy up after ourselves. In non-error cases, we need to
clear gl_object before we set the block free in the bitmap so
residules aren't left for potential inode creators.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
2017-08-09 09:36:38 -05:00
..
2016-05-12 22:28:05 -04:00
2014-03-03 13:50:12 +00:00
2016-06-27 09:47:09 -05:00
2017-07-21 07:48:22 -05:00
2016-06-27 09:47:08 -05:00
2017-07-17 13:39:15 -05:00
2008-06-27 09:39:44 +01:00
2017-07-07 13:22:05 -05:00
2017-07-07 13:22:05 -05:00
2016-08-02 12:05:27 -05:00
2013-06-03 14:20:18 -07:00
2014-05-14 10:04:34 +01:00
2016-06-07 13:41:38 -06:00
2011-05-10 13:12:49 +01:00
2017-04-19 08:25:43 -04:00
2012-01-11 09:23:05 +00:00
2015-12-06 21:25:17 -05:00