From: Trond Myklebust Date: Fri, 18 Apr 2014 18:43:56 +0000 (-0400) Subject: NFSd: Move default initialisers from create_client() to alloc_client() X-Git-Tag: v3.2.60~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f8b7c3919e494881697db355b8b8b33400d740e;p=pandora-kernel.git NFSd: Move default initialisers from create_client() to alloc_client() commit 5694c93e6c4954fa9424c215f75eeb919bddad64 upstream. 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 Signed-off-by: J. Bruce Fields [bwh: Backported to 3.2: - Adjust context - Also move initialisation of nfs4_client::cl_strhash, but not nfs4_client::cl_revoked] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed