commit | 3abdb6071250b896b9d5b6e0c310d6e95666b4d7 | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@redhat.com> | Sun Feb 03 12:23:01 2013 -0500 |
committer | J. Bruce Fields <bfields@redhat.com> | Tue Feb 05 09:41:12 2013 -0500 |
tree | 4d3e50e7ad92ef58db95d3299d77001f1cff9366 | |
parent | 2d32b29a1c2830f7c42caa8258c714acd983961f [diff] |
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 <bfields@redhat.com>