diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-12-21 10:45:27 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-01-06 16:03:13 -0500 |
commit | d035c36c58dd9183ad6aa7875dea89893faedb55 (patch) | |
tree | d12581ff27c659c701707bf62fd39566ee696e51 /include/linux/nfs_xdr.h | |
parent | d3978bb325510f0a26ebd92f211b36c5f98b2306 (diff) | |
download | linux-d035c36c58dd9183ad6aa7875dea89893faedb55.tar.gz linux-d035c36c58dd9183ad6aa7875dea89893faedb55.tar.bz2 linux-d035c36c58dd9183ad6aa7875dea89893faedb55.zip |
NFSv4: Ensure continued open and lockowner name uniqueness
In order to enable migration support, we will want to move some of the
structures that are subject to migration into the struct nfs_server.
In particular, if we are to move the state_owner and state_owner_id to
being a per-filesystem structure, then we should label the resulting
open/lock owners with a per-filesytem label to ensure global uniqueness.
This patch does so by adding the super block s_dev to the open/lock owner
name.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 83d36d3a12e6..b0068579bec2 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -317,6 +317,7 @@ struct nfs_closeres { struct nfs_lowner { __u64 clientid; __u64 id; + dev_t s_dev; }; struct nfs_lock_args { |