diff options
-rw-r--r-- | fs/nfs/nfs4state.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c index cad4e064b328..e916aba7a799 100644 --- a/fs/nfs/nfs4state.c +++ b/fs/nfs/nfs4state.c | |||
@@ -2095,8 +2095,10 @@ static int nfs4_try_migration(struct nfs_server *server, const struct cred *cred | |||
2095 | } | 2095 | } |
2096 | 2096 | ||
2097 | status = nfs4_begin_drain_session(clp); | 2097 | status = nfs4_begin_drain_session(clp); |
2098 | if (status != 0) | 2098 | if (status != 0) { |
2099 | return status; | 2099 | result = status; |
2100 | goto out; | ||
2101 | } | ||
2100 | 2102 | ||
2101 | status = nfs4_replace_transport(server, locations); | 2103 | status = nfs4_replace_transport(server, locations); |
2102 | if (status != 0) { | 2104 | if (status != 0) { |