Bob Peterson 7508abc4bd GFS2: Check if iopen is held when deleting inode
This patch fixes an error condition in which an inode is partially
created in gfs2_create_inode() but then some error is discovered,
which causes it to fail and call iput() before the iopen glock is
created or held. In that case, gfs2_delete_inode would try to
unlock an iopen glock that doesn't yet exist. Therefore, we test
its holder (which must exist) for the HIF_HOLDER bit before trying
to dq it.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Acked-by: Steven Whitehouse <swhiteho@redhat.com>
2016-01-14 08:47:42 -05:00
..
2014-03-03 13:50:12 +00:00
2015-12-14 12:19:37 -06:00
2015-12-22 08:06:08 -06:00
2015-12-14 12:19:24 -06:00
2015-10-29 12:57:48 -05:00
2015-12-14 12:19:37 -06:00
2016-01-12 18:09:35 -08:00
2013-06-14 11:17:15 +01:00
2013-06-03 14:20:18 -07:00
2015-11-09 15:11:24 -08:00
2014-05-14 10:04:34 +01:00
2015-09-11 12:23:51 -07:00
2015-11-16 12:00:29 -06:00
2016-01-12 18:09:35 -08:00
2015-12-14 12:19:24 -06:00
2015-01-13 10:48:57 +00:00
2015-05-05 13:23:22 -05:00
2012-01-11 09:23:05 +00:00
2016-01-12 18:09:35 -08:00
2015-12-06 21:25:17 -05:00