Steven Whitehouse 3af165ac4d GFS2: Fix use-after-free bug on umount
There was a use-after-free with the GFS2 super block during
umount. This patch moves almost all of the umount code from
->put_super into ->kill_sb, the only bit that cannot be moved
being the glock hash clearing which has to remain as ->put_super
due to umount ordering requirements. As a result its now obvious
that the kfree is the final operation, whereas before it was
hidden in ->put_super.

Also gfs2_jindex_free is then only referenced from a single file
so thats moved and marked static too.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2009-01-05 07:39:14 +00:00
..
2009-01-05 07:38:57 +00:00
2006-11-30 10:37:32 -05:00
2009-01-05 07:38:59 +00:00
2008-01-25 08:08:25 +00:00
2009-01-05 07:38:59 +00:00
2008-01-25 08:08:13 +00:00
2007-10-10 08:55:03 +01:00
2009-01-05 07:38:59 +00:00
2008-06-27 09:39:44 +01:00
2009-01-05 07:39:14 +00:00
2009-01-05 07:39:14 +00:00
2009-01-05 07:39:09 +00:00
2009-01-05 07:39:09 +00:00
2009-01-05 07:39:09 +00:00
2009-01-05 07:38:59 +00:00
2008-06-27 09:39:28 +01:00
2008-09-26 10:23:22 +01:00
2008-06-27 09:39:31 +01:00
2008-03-31 10:40:05 +01:00
2008-03-31 10:39:54 +01:00
2009-01-05 07:39:09 +00:00
2009-01-05 07:39:09 +00:00
2008-06-27 09:39:22 +01:00
2008-06-27 09:39:22 +01:00
2009-01-05 07:39:13 +00:00
2009-01-05 07:38:48 +00:00
2009-01-05 07:39:06 +00:00
2009-01-05 07:39:03 +00:00
2009-01-05 07:39:14 +00:00
2009-01-05 07:39:14 +00:00
2009-01-05 07:39:13 +00:00
2009-01-05 07:39:13 +00:00
2009-01-05 07:39:05 +00:00
2009-01-05 07:39:05 +00:00