]> git.karo-electronics.de Git - mv-sheeva.git/commit
NFSv4: Ensure continued open and lockowner name uniqueness
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 21 Dec 2010 15:45:27 +0000 (10:45 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 6 Jan 2011 21:03:13 +0000 (16:03 -0500)
commitd035c36c58dd9183ad6aa7875dea89893faedb55
treed12581ff27c659c701707bf62fd39566ee696e51
parentd3978bb325510f0a26ebd92f211b36c5f98b2306
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>
fs/nfs/nfs4proc.c
fs/nfs/nfs4xdr.c
include/linux/nfs_xdr.h