From: Christoph Hellwig Date: Thu, 14 Nov 2013 16:50:33 +0000 (-0800) Subject: nfs: take i_mutex during direct I/O reads X-Git-Tag: v3.14-rc1~77^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0b9875d65c1abcc9d405d648660dfb919353959;p=pandora-kernel.git nfs: take i_mutex during direct I/O reads We'll need the i_mutex to prevent i_dio_count from incrementing while truncate is waiting for it to reach zero, and protects against having the pagecache repopulated after we flushed it. Signed-off-by: Christoph Hellwig Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed