Do not free io context when taking recursive faults in do_exit
authorNikanth Karthikesan <knikanth@suse.de>
Wed, 19 Nov 2008 09:20:23 +0000 (10:20 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 29 Dec 2008 07:28:43 +0000 (08:28 +0100)
commit7c0990c7ee988aa193abbb7da3faeb9279146dbf
tree785708206467f03cf07c72dae65f56531bfd7449
parentd194139c18edb7dae45e159a24f2aa72091033b8
Do not free io context when taking recursive faults in do_exit

When taking recursive faults in do_exit, if the io_context is not null,
exit_io_context() is being called. But it might decrement the refcount
more than once. It is better to leave this task alone.

Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
kernel/exit.c