From: Chuck Lever Date: Thu, 17 Oct 2013 18:12:28 +0000 (-0400) Subject: NFS: Add nfs4_update_server X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~60^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32e62b7c3ef095eccbb6a8c96fddf05dacc749df;p=pandora-kernel.git NFS: Add nfs4_update_server New function nfs4_update_server() moves an nfs_server to a different nfs_client. This is done as part of migration recovery. Though it may be appealing to think of them as the same thing, migration recovery is not the same as following a referral. For a referral, the client has not descended into the file system yet: it has no nfs_server, no super block, no inodes or open state. It is enough to simply instantiate the nfs_server and super block, and perform a referral mount. For a migration, however, we have all of those things already, and they have to be moved to a different nfs_client. No local namespace changes are needed here. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed