From: Scott Mayhew Date: Fri, 5 Jul 2013 21:33:19 +0000 (-0400) Subject: NFS: Allow nfs_updatepage to extend a write under additional circumstances X-Git-Tag: v3.11-rc1~28^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7559663e42f4294ffe31fe159da6b6a66b35d61;p=pandora-kernel.git NFS: Allow nfs_updatepage to extend a write under additional circumstances Currently nfs_updatepage allows a write to be extended to cover a full page only if we don't have a byte range lock lock on the file... but if we have a write delegation on the file or if we have the whole file locked for writing then we should be allowed to extend the write as well. Signed-off-by: Scott Mayhew [Trond: fix up call to nfs_have_delegation()] Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed