]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Add ability to send MOUNTPROC_UMNT to the kernel's mountd client
authorChuck Lever <chuck.lever@oracle.com>
Sun, 9 Aug 2009 19:09:30 +0000 (15:09 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 9 Aug 2009 19:09:30 +0000 (15:09 -0400)
commit1232d4f16161301fb444b8ad34812da6aadf3c3a
tree6e65a65ecf9968803e712ccc7063cca4385757e0
parent1639f797e56c90f2b2c3fb98224067e78abbaef5
NFS: Add ability to send MOUNTPROC_UMNT to the kernel's mountd client

After certain failure modes of an NFS mount, an NFS client should send
a MOUNTPROC_UMNT request to remove the just-added mount entry from the
server's mount table.  While no-one should rely on the accuracy of the
server's mount table, sending a UMNT is simply being a good internet
neighbor.

Since NFS mount processing is handled in the kernel now, we will need
a function in the kernel's mountd client that can post a MOUNTRPC_UMNT
request, in order to handle these failure modes.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/internal.h
fs/nfs/mount_clnt.c