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-22 18:48:45 -05:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-10-23 05:13:21 -04:00
2008-10-13 10:10:37 -07:00
2008-10-16 11:21:39 -07:00
2008-10-16 11:21:46 -07:00
2008-10-23 05:13:21 -04:00
2008-10-23 10:43:36 -07:00
2008-10-27 08:40:17 -07:00
2008-10-23 05:12:52 -04:00
2008-08-20 15:40:32 -07:00
2008-10-13 09:47:43 +11:00
2008-10-13 10:10:37 -07:00
2008-09-05 09:51:30 -05:00
2008-10-23 05:12:52 -04:00
2008-10-23 05:13:01 -04:00
2008-10-23 05:13:10 -04:00
2008-10-23 10:23:07 -07:00
2008-10-25 22:37:44 -04:00
2008-10-25 22:37:55 -04:00
2008-10-23 05:13:21 -04:00
2008-10-23 05:13:01 -04:00
2008-10-23 05:13:01 -04:00
2008-10-23 05:13:25 -04:00
2008-10-23 05:13:25 -04:00
2008-10-21 07:47:06 -04:00
2008-10-23 05:12:58 -04:00
2008-07-26 20:53:07 -04:00
2008-10-13 10:10:37 -07:00
2008-10-23 05:13:01 -04:00
2008-10-23 08:55:02 -07:00
2008-10-20 11:43:59 -07:00
2008-10-23 05:13:21 -04:00
2008-10-23 10:23:07 -07:00
2008-10-04 17:12:27 -04:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:34 -07:00
2008-07-26 20:53:37 -04:00
2008-10-27 08:40:17 -07:00
2008-10-23 10:22:40 -07:00
2008-10-17 02:38:36 +11:00
2008-10-23 05:13:01 -04:00
2008-10-23 10:23:07 -07:00
2008-10-23 05:13:21 -04:00
2008-10-23 05:13:21 -04:00
2008-10-21 07:49:06 -04:00
2008-10-27 08:40:17 -07:00
2008-07-26 12:00:07 -07:00
2008-10-20 08:50:26 -07:00
2008-10-23 10:23:07 -07:00
2008-07-30 14:30:34 -07:00
2008-07-26 20:53:14 -04:00
2008-10-23 05:13:21 -04:00
2008-07-26 12:00:07 -07:00
2008-10-20 09:19:03 -07:00
2008-10-23 05:13:15 -04:00
2008-10-23 05:13:21 -04:00
2008-07-25 10:53:34 -07:00
2008-10-30 16:53:25 +11:00
2008-07-26 20:53:40 -04:00
2008-07-24 10:47:28 -07:00
2008-10-23 05:13:27 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:08 -07:00
2008-10-20 20:17:18 -07:00
2008-10-20 13:19:56 -07:00
2008-10-16 11:21:38 -07:00
2008-10-16 11:21:29 -07:00
2008-10-16 11:21:38 -07:00
2008-10-16 11:21:38 -07:00
2008-10-16 11:21:38 -07:00
2008-10-09 08:56:21 +02:00
2008-10-09 08:57:05 +02:00
2008-10-23 10:23:07 -07:00
2008-10-20 08:52:32 -07:00
2008-10-23 05:12:59 -04:00
2008-07-25 10:53:34 -07:00
2008-10-26 11:22:08 -07:00
2008-10-23 05:17:12 -04:00
2008-10-16 11:21:32 -07:00
2008-10-23 05:12:44 -04:00
2008-07-24 10:47:29 -07:00
2008-10-26 12:09:49 -07:00
2008-10-20 08:52:39 -07:00
2008-08-01 11:25:24 -04:00
2008-10-21 07:47:06 -04:00
2008-10-21 07:47:06 -04:00
2008-08-01 11:25:23 -04:00
2008-10-23 14:27:09 +04:00
2008-10-16 11:21:32 -07:00
2008-08-15 08:35:44 -07:00
2008-10-02 15:53:13 -07:00
2008-10-12 11:44:37 -07:00
2008-08-20 15:40:32 -07:00
2008-10-23 05:13:26 -04:00
2008-10-20 08:52:39 -07:00
2008-10-23 05:13:00 -04:00
2008-10-23 12:04:37 -07:00
2008-10-16 11:21:51 -07:00
2008-10-16 11:21:32 -07:00
2008-10-23 05:13:25 -04:00
2008-10-23 05:13:23 -04:00
2008-10-21 07:47:06 -04:00
2008-07-26 20:53:06 -04:00
2008-07-25 10:53:35 -07:00
2008-07-25 10:53:35 -07:00
2008-07-25 10:53:35 -07:00
2008-10-23 05:12:59 -04:00
2008-10-23 05:13:10 -04:00
2008-10-26 11:22:08 -07:00
2008-10-20 08:52:39 -07:00
2008-07-24 10:47:29 -07:00
2008-10-09 14:26:38 -07:00
2008-07-26 20:53:34 -04:00
2008-10-23 10:23:07 -07:00
2008-07-24 10:47:17 -07:00
2008-09-05 21:35:09 -07:00
2008-07-26 20:53:34 -04:00
2008-07-26 20:53:34 -04:00