Jan Kara ced55f38d6 xfs: Fix possible use-after-free with AIO
Running AIO is pinning inode in memory using file reference. Once AIO
is completed using aio_complete(), file reference is put and inode can
be freed from memory. So we have to be sure that calling aio_complete()
is the last thing we do with the inode.

CC: xfs@oss.sgi.com
CC: Ben Myers <bpm@sgi.com>
CC: stable@vger.kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
2013-01-26 09:43:58 -06:00
..
2012-11-19 20:11:24 -06:00
2012-11-14 15:15:08 -06:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2012-11-15 21:34:55 -06:00
2012-11-19 20:11:24 -06:00
2012-11-14 15:15:08 -06:00
2011-07-13 13:43:48 +02:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-03-07 10:09:35 +11:00
2012-10-17 13:42:25 -05:00
2011-08-12 16:21:35 -05:00
2012-05-14 16:20:54 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2012-11-14 15:12:45 -06:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2012-09-18 01:01:39 -07:00
2012-11-19 20:11:24 -06:00
2012-10-17 12:01:25 -05:00
2012-05-14 16:21:00 -05:00
2012-07-31 09:45:48 +04:00
2012-01-03 22:55:00 -05:00
2011-08-12 16:21:35 -05:00