aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/pagelist.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2016-10-13 15:26:47 +1100
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-12-01 17:58:05 -0500
commit8d42443166a5d3800756db98498a4961a5ea5de7 (patch)
tree3d459d16bb6b022075a5819dba3629dca0b8cac0 /fs/nfs/pagelist.c
parentNFSv4: change nfs4_select_rw_stateid to take a lock_context inplace of lock_owner (diff)
downloadlinux-dev-8d42443166a5d3800756db98498a4961a5ea5de7.tar.xz
linux-dev-8d42443166a5d3800756db98498a4961a5ea5de7.zip
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 'fs/nfs/pagelist.c')
0 files changed, 0 insertions, 0 deletions