aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2013-01-30 03:48:17 +0000
committerTheodore Ts'o <[email protected]>2013-01-30 03:48:17 +0000
commit091e26dfc156aeb3b73bc5c5f277e433ad39331c (patch)
tree03a95cea66597c0b7289ea6fbdc13785a5e21919 /fs/jbd2/commit.c
parentext4: remove unnecessary NULL pointer check (diff)
downloadkernel-091e26dfc156aeb3b73bc5c5f277e433ad39331c.tar.gz
kernel-091e26dfc156aeb3b73bc5c5f277e433ad39331c.zip
ext4: 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: [email protected] Reviewed-by: Carlos Maiolino <[email protected]> Acked-by: Jeff Moyer <[email protected]> Signed-off-by: Jan Kara <[email protected]> Signed-off-by: "Theodore Ts'o" <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions