]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: Allow lockowners to hold several stateids
authorJeff Layton <jlayton@primarydata.com>
Mon, 30 Jun 2014 15:48:39 +0000 (11:48 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 10 Jul 2014 00:54:57 +0000 (20:54 -0400)
commit6cdf4eabe1d9f8b5076ab801cd7da369902391d8
tree2c2e79091c493593290a1a0a041596b24b42ac06
parent3a33ecc3d353c9618cf298affb4c7495241e12f1
nfsd: Allow lockowners to hold several stateids

A lockowner can have more than one lock stateid. For instance, if a
process has more than one file open and has locks on both, then the same
lockowner has more than one stateid associated with it. Change it so
that this reality is better reflected by the objects that nfsd uses.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c