diff options
author | Scott Mayhew <smayhew@redhat.com> | 2013-07-05 17:33:19 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-07-09 19:32:50 -0400 |
commit | c7559663e42f4294ffe31fe159da6b6a66b35d61 (patch) | |
tree | 0b59b9bdc4a423efa64c79e9e9db1af68c27ff40 /firmware/yamaha | |
parent | 07b5ce8ef2d87f1914054804720d6facbaa3f4ce (diff) |
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 <smayhew@redhat.com>
[Trond: fix up call to nfs_have_delegation()]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'firmware/yamaha')
0 files changed, 0 insertions, 0 deletions