From: J. Bruce Fields Date: Sun, 3 Feb 2013 17:23:01 +0000 (-0500) Subject: nfsd4: simplify idr allocation X-Git-Tag: v3.9-rc1~40^2~22 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3abdb6071250b896b9d5b6e0c310d6e95666b4d7;p=pandora-kernel.git nfsd4: simplify idr allocation We don't really need to preallocate at all; just allocate and initialize everything at once, but leave the sc_type field initially 0 to prevent finding the stateid till it's fully initialized. Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed