nfsd4: do idr preallocation with stateid allocation
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 17 Oct 2011 15:14:48 +0000 (11:14 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 17 Oct 2011 21:50:07 +0000 (17:50 -0400)
Move idr preallocation out of stateid initialization, into stateid
allocation, so that we no longer have to handle any errors from the
former.

This is a little subtle due to the way the idr code manages these
preallocated items--document that in comments.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found