From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([198.137.202.9]:38203 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756596AbcJ3Qm2 (ORCPT ); Sun, 30 Oct 2016 12:42:28 -0400 From: Christoph Hellwig To: Linus Torvalds , Al Viro Cc: Jan Kara , Dmitry Monakhov , Jeff Moyer , linux-fsdevel@vger.kernel.org, linux-aio@kvack.org, linux-kernel@vger.kernel.org Subject: aio fixes for use after free and freeze protection Date: Sun, 30 Oct 2016 11:42:00 -0500 Message-Id: <1477845724-27586-1-git-send-email-hch@lst.de> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi Linus, hi Al, below is the new version of the aio fix(es). Patch one just holds an additional file reference over AIO ops. This one is minimally invasive and a clear 4.9 and stable candidate. The next one drops the never implemented aio_fsync methods because it makes my life easier later on. No user visible change as we always ended up returning EINVAL anyway. Patch three refators the aio code so that it's not a spaghetti monster, and patch four is Jan's original free patch rebased on top of this whole stack.