Dave Chinner
705db3fd46
xfs: fix double free of inode
...
If we fail to initialise the VFS inode in inode_init_always(),
it will call ->delete_inode internally resulting in the inode being
freed. Hence we need to delay the call to inode_init_always()
until after the XFS inode is sufficient set up to handle a
call to ->delete_inode, and then if that fails do not touch
the inode again at all as it has been freed.
Signed-off-by: Dave Chinner <david@fromorbit.com >
Reviewed-by: Christoph Hellwig <hch@lst.de >
2009-04-06 18:40:17 +02:00
..
2009-03-29 09:53:38 +02:00
2009-03-29 09:51:00 +02:00
2009-03-30 10:21:31 +02:00
2009-01-19 02:02:57 +01:00
2009-02-09 08:47:34 +01:00
2008-11-14 10:39:04 +11:00
2009-03-31 00:23:37 -05:00
2009-02-09 08:37:39 +01:00
2009-01-16 17:10:42 +11:00
2008-10-30 17:14:34 +11:00
2009-03-16 08:29:46 +01:00
2009-03-16 08:29:46 +01:00
2008-10-30 17:05:38 +11:00
2009-03-29 19:26:46 +02:00
2009-01-09 15:46:44 +11:00
2008-07-28 16:58:35 +10:00
2009-01-16 17:10:42 +11:00
2008-08-13 16:03:35 +10:00
2008-08-13 15:41:12 +10:00
2009-01-09 15:53:54 +11:00
2009-01-16 17:10:42 +11:00
2009-01-16 17:10:42 +11:00
2009-03-29 19:26:46 +02:00
2009-03-29 19:26:46 +02:00
2008-10-30 16:58:50 +11:00
2008-10-30 16:58:50 +11:00
2009-03-29 09:55:42 +02:00
2009-03-29 09:55:42 +02:00
2008-12-22 17:52:58 +11:00
2009-02-09 08:37:39 +01:00
2009-03-29 09:55:42 +02:00
2009-02-12 19:56:00 +01:00
2008-12-02 17:08:01 +11:00
2009-03-29 09:51:14 +02:00
2009-03-29 09:51:08 +02:00
2008-07-28 16:58:36 +10:00
2009-03-29 09:55:42 +02:00
2009-03-29 09:51:08 +02:00
2009-03-29 09:55:42 +02:00
2009-03-29 09:51:08 +02:00
2008-12-01 11:37:35 +11:00
2008-07-28 16:58:37 +10:00
2009-03-06 17:20:15 -06:00
2008-07-28 16:58:40 +10:00
2008-08-23 12:14:12 -07:00
2008-10-30 17:53:24 +11:00
2008-12-22 18:02:01 +11:00
2008-12-22 18:02:01 +11:00
2008-10-30 17:39:58 +11:00
2009-01-22 14:07:31 +11:00
2009-03-16 08:29:46 +01:00
2009-01-09 16:54:42 -08:00
2009-03-29 09:55:42 +02:00
2009-01-09 16:54:42 -08:00
2009-03-29 09:55:42 +02:00
2009-02-09 08:37:14 +01:00
2009-03-29 09:55:42 +02:00
2009-01-16 17:10:42 +11:00
2009-04-06 18:40:17 +02:00
2008-12-01 11:38:08 +11:00
2009-01-22 14:07:31 +11:00
2009-01-19 02:04:16 +01:00
2009-03-29 09:55:42 +02:00
2009-01-16 17:10:42 +11:00
2009-03-29 09:55:42 +02:00
2009-03-29 09:55:42 +02:00
2008-12-02 17:16:03 +11:00
2009-03-16 08:24:13 +01:00
2009-03-16 08:24:13 +01:00
2009-04-06 18:39:27 +02:00
2009-03-16 08:19:29 +01:00
2009-03-30 10:21:31 +02:00
2009-03-29 19:26:46 +02:00
2008-07-28 16:59:25 +10:00
2009-02-09 08:47:34 +01:00
2009-02-09 08:47:34 +01:00
2009-01-16 17:10:42 +11:00
2009-02-04 09:33:58 +01:00
2009-03-29 09:55:42 +02:00
2008-12-11 13:13:33 +11:00
2009-01-16 17:10:42 +11:00
2009-01-16 17:10:42 +11:00
2009-03-29 09:55:42 +02:00
2008-10-30 17:39:58 +11:00
2008-12-04 15:39:23 +11:00
2009-03-29 09:55:42 +02:00
2008-10-30 17:39:58 +11:00
2009-02-09 08:37:14 +01:00
2008-11-17 17:37:10 +11:00
2009-03-29 09:55:42 +02:00
2009-02-09 08:37:39 +01:00
2009-03-29 09:55:42 +02:00
2008-08-13 16:13:45 +10:00
2009-03-29 09:55:42 +02:00
2009-02-09 08:38:02 +01:00
2008-10-30 16:55:13 +11:00