Lachlan McIlroy
a357a12156
[XFS] Fix use-after-free with log and quotas
...
Destroying the quota stuff on unmount can access the log - ie
XFS_QM_DONE() ends up in xfs_dqunlock() which calls
xfs_trans_unlocked_item() and then xfs_log_move_tail(). By this time the
log has already been destroyed. Just move the cleanup of the quota code
earlier in xfs_unmountfs() before the call to xfs_log_unmount(). Moving
XFS_QM_DONE() up near XFS_QM_DQPURGEALL() seems like a good spot.
SGI-PV: 987086
SGI-Modid: xfs-linux-melb:xfs-kern:32148a
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Peter Leckie <pleckie@sgi.com>
2008-10-30 16:53:25 +11:00
..
2008-10-30 16:42:34 +11:00
2008-08-13 16:51:57 +10:00
2008-07-28 16:59:25 +10:00
2008-04-29 16:07:48 +10:00
2008-07-28 16:58:49 +10:00
2008-08-13 16:22:40 +10:00
2008-08-13 16:22:40 +10:00
2008-08-13 16:07:53 +10:00
2008-08-13 16:05:49 +10:00
2008-08-13 16:05:49 +10:00
2008-07-28 16:58:35 +10:00
2008-08-13 16:05:49 +10:00
2008-08-13 16:03:35 +10:00
2008-08-13 15:41:12 +10:00
2008-08-13 15:41:12 +10:00
2008-07-28 16:59:13 +10:00
2008-08-13 16:52:25 +10:00
2008-07-28 16:59:11 +10:00
2008-08-13 16:25:27 +10:00
2008-08-13 16:25:27 +10:00
2008-09-17 16:52:13 +10:00
2008-07-28 16:58:05 +10:00
2008-07-28 16:59:25 +10:00
2008-10-30 16:52:35 +11:00
2008-09-17 16:51:21 +10:00
2008-07-28 16:58:40 +10:00
2008-07-28 16:58:36 +10:00
2008-07-28 16:59:06 +10:00
2008-07-28 16:59:01 +10:00
2008-07-28 16:58:40 +10:00
2008-07-28 16:58:50 +10:00
2008-07-28 16:58:37 +10:00
2008-07-28 16:58:46 +10:00
2008-07-28 16:58:40 +10:00
2008-08-23 12:14:12 -07:00
2008-08-13 16:17:37 +10:00
2008-08-13 16:17:37 +10:00
2008-07-28 16:58:07 +10:00
2008-08-13 16:51:57 +10:00
2008-07-28 16:59:09 +10:00
2008-07-28 16:58:42 +10:00
2008-08-13 16:25:27 +10:00
2008-04-29 15:58:56 +10:00
2008-10-30 16:11:59 +11:00
2008-08-13 16:41:16 +10:00
2008-10-30 16:50:35 +11:00
2008-10-30 16:11:59 +11:00
2008-07-28 16:59:10 +10:00
2008-10-30 16:11:59 +11:00
2008-09-17 16:45:37 +10:00
2008-08-13 16:49:32 +10:00
2008-10-10 11:08:07 -07:00
2008-08-13 16:49:32 +10:00
2008-10-30 16:53:25 +11:00
2008-10-30 16:52:35 +11:00
2008-07-28 16:59:25 +10:00
2008-07-28 16:59:14 +10:00
2008-08-13 15:41:12 +10:00
2008-08-13 16:36:11 +10:00
2008-07-28 16:58:42 +10:00
2008-08-13 16:10:52 +10:00
2008-07-28 16:58:07 +10:00
2008-08-13 16:10:52 +10:00
2008-08-13 16:10:52 +10:00
2008-08-13 16:10:52 +10:00
2008-08-13 15:45:15 +10:00
2008-08-13 16:13:45 +10:00
2008-08-13 16:22:40 +10:00
2008-07-28 16:58:21 +10:00
2008-09-17 16:52:50 +10:00
2008-07-28 16:59:37 +10:00
2008-04-29 15:57:49 +10:00