diff options
author | J. Bruce Fields | 2013-02-03 18:23:01 +0100 |
---|---|---|
committer | J. Bruce Fields | 2013-02-05 15:41:12 +0100 |
commit | 3abdb6071250b896b9d5b6e0c310d6e95666b4d7 (patch) | |
tree | 4d3e50e7ad92ef58db95d3299d77001f1cff9366 /include/linux/sunrpc | |
parent | nfsd: Fix memleak (diff) | |
download | kernel-qcow2-linux-3abdb6071250b896b9d5b6e0c310d6e95666b4d7.tar.gz kernel-qcow2-linux-3abdb6071250b896b9d5b6e0c310d6e95666b4d7.tar.xz kernel-qcow2-linux-3abdb6071250b896b9d5b6e0c310d6e95666b4d7.zip |
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>
Diffstat (limited to 'include/linux/sunrpc')
0 files changed, 0 insertions, 0 deletions