diff options
author | NeilBrown <neilb@suse.com> | 2016-10-13 15:26:47 +1100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-01 17:58:05 -0500 |
commit | 8d42443166a5d3800756db98498a4961a5ea5de7 (patch) | |
tree | 3d459d16bb6b022075a5819dba3629dca0b8cac0 /arch/arm/mach-mmp/flint.c | |
parent | 1739347549653dc2463d208d7039f5e97b8f1e8b (diff) |
NFSv4: enhance nfs4_copy_lock_stateid to use a flock stateid if there is one
A process can have two possible lock owner for a given open file:
a per-process Posix lock owner and a per-open-file flock owner
Use both of these when searching for a suitable stateid to use.
With this patch, READ/WRITE requests will use the correct stateid
if a flock lock is active.
Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'arch/arm/mach-mmp/flint.c')
0 files changed, 0 insertions, 0 deletions