From: Trond Myklebust Date: Wed, 18 Jan 2012 03:04:26 +0000 (-0500) Subject: NFS: Optimise away unnecessary setattrs for open(O_TRUNC); X-Git-Tag: v3.4-rc1~123^2~179 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=536e43d12b9517bbbf6114cd1a12be27857a4d7a;p=pandora-kernel.git NFS: Optimise away unnecessary setattrs for open(O_TRUNC); Currently, we will correctly optimise away a truncate that doesn't change the file size. However, in the case of open(O_TRUNC), we also want to optimise away the time changes. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed