Bob Peterson 9c1b28081f GFS2: Clear gl_object if gfs2_create_inode fails
If function gfs2_create_inode fails after the inode has been
created (for example, if the inode_refresh fails for some reason)
the function was setting gl_object but never clearing it again.
The glocks are left pointing to a freed inode. This patch adds
the calls to clear gl_object in the appropriate error paths.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
2017-08-09 09:36:26 -05:00
..
2017-05-05 15:24:52 -04:00
2017-05-12 15:57:15 -07:00
2017-06-14 19:37:23 +02:00
2017-06-09 09:27:32 -06:00
2017-07-06 16:24:35 -07:00
2017-07-03 09:55:26 -07:00
2017-07-05 17:09:27 -07:00
2017-06-27 17:02:36 -07:00
2017-06-09 11:27:20 +02:00
2017-04-17 12:52:27 -04:00
2017-07-07 19:38:17 -07:00
2017-07-07 13:48:18 -07:00
2016-12-14 23:48:11 -05:00
2017-05-08 17:15:12 -07:00
2017-06-09 16:28:01 -04:00
2017-07-05 18:44:23 -04:00