diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-04-18 14:43:56 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-05-06 12:38:46 -0400 |
commit | 5694c93e6c4954fa9424c215f75eeb919bddad64 (patch) | |
tree | 83baf7f3dfac5133c655190cce5dc0fd0af77550 /fs/nfs/mount_clnt.c | |
parent | fc208d026be0c7d60db9118583fc62f6ca97743d (diff) |
NFSd: Move default initialisers from create_client() to alloc_client()
Aside from making it clearer what is non-trivial in create_client(), it
also fixes a bug whereby we can call free_client() before idr_init()
has been called.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfs/mount_clnt.c')
0 files changed, 0 insertions, 0 deletions