Bob Peterson 2297ab6144 gfs2: Fix problems regarding gfs2_qa_get and _put
This patch fixes a couple of places in which gfs2_qa_get and gfs2_qa_put are
not balanced: we now keep references around whenever a file is open for writing
(see gfs2_open_common and gfs2_release), so we need to put all references we
grab in function gfs2_create_inode.  This was broken in the successful case and
on one error path.

This also means that we don't have a reference to put in gfs2_evict_inode.

In addition, gfs2_qa_put was called for the wrong inode in gfs2_link.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
2020-05-08 18:45:11 +02:00
..
2019-07-03 14:45:18 +02:00
2020-05-08 15:15:12 +02:00
2020-05-08 14:45:38 +02:00
2019-09-04 20:22:17 +02:00
2020-05-08 15:15:12 +02:00
2019-06-08 12:52:42 -07:00
2020-05-06 21:25:26 +02:00