From: Christoph Hellwig Date: Wed, 24 Sep 2014 10:19:18 +0000 (+0200) Subject: nfsd: split nfsd4_callback initialization and use X-Git-Tag: fixes-for-v3.18-merge-window~9^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0b5de1b6b8b66552bcc7ae692f45940d411cf05;p=pandora-kernel.git nfsd: split nfsd4_callback initialization and use Split out initializing the nfs4_callback structure from using it. For the NULL callback this gets rid of tons of pointless re-initializations. Note that I don't quite understand what protects us from running multiple NULL callbacks at the same time, but at least this chance doesn't make it worse.. Signed-off-by: Christoph Hellwig Reviewed-by: Jeff Layton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed