Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 996e0938 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd4: do idr preallocation with stateid allocation



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: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 32513b40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment