]> git.hungrycats.org Git - linux/commit
[PATCH] Fix AIO reference counts
authorDaniel McNeil <daniel@osdl.org>
Tue, 11 Nov 2003 02:28:33 +0000 (18:28 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 11 Nov 2003 02:28:33 +0000 (18:28 -0800)
commit06d751b4ce1b9e87d572b1d03d95dec932644f64
tree69f8319e9d2f04420e84e4795ebae0718bb9b672
parenteba299727ab2a2661b8aaa6fbf5b1422d2d63022
[PATCH] Fix AIO reference counts

This makes the AIO submit path holds an extra reference until just
before returning.  This fixes the referencing a free kiocb.

Without this patch the kernel will oops if the AIO completes early.
fs/aio.c