From: Christoph Hellwig Date: Fri, 24 Jun 2011 18:29:45 +0000 (-0400) Subject: fs: move inode_dio_wait calls into ->setattr X-Git-Tag: v3.1-rc1~282^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=562c72aa57c36b178eacc3500a0215651eca9429;p=pandora-kernel.git fs: move inode_dio_wait calls into ->setattr Let filesystems handle waiting for direct I/O requests themselves instead of doing it beforehand. This means filesystem-specific locks to prevent new dio referenes from appearing can be held. This is important to allow generalizing i_dio_count to non-DIO_LOCKING filesystems. Signed-off-by: Christoph Hellwig Signed-off-by: Al Viro --- Reading git-diff-tree failed