NFSv4: Fix issues in nfs4_discover_server_trunking
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 5 Apr 2013 17:22:50 +0000 (13:22 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 5 Apr 2013 17:22:50 +0000 (13:22 -0400)
commitea33e6c3e79d23ef693b7ed3171ef90dddfbfc15
tree082cf88ddbd43004ded9a8a456f6d67783f78083
parent23631227a672de5e81e167c3178b39e9a50f6541
NFSv4: Fix issues in nfs4_discover_server_trunking

- Ensure that we exit with ENOENT if the call to ops->get_clid_cred()
  fails.
- Handle the case where ops->detect_trunking() exits with an
  unexpected error, and return EIO.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4state.c