]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Clean up nfs_init_client()
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 7 Apr 2017 18:15:05 +0000 (14:15 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 20 Apr 2017 17:39:33 +0000 (13:39 -0400)
commit64e17a960da951696b655dee4f6b433b515b4052
treea6fceddb7f12028c4a3f95c99c08e9b3b5009276
parent362d0984815d25e2f569951e829ce3998721fcf3
NFS: Clean up nfs_init_client()

We always call nfs_mark_client_ready() even if nfs_create_rpc_client()
returns an error, so we can rearrange nfs_init_client() to mark the
client ready from a single place.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/client.c