aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/dns_resolve.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <[email protected]>2013-02-03 17:23:01 +0000
committerJ. Bruce Fields <[email protected]>2013-02-05 14:41:12 +0000
commit3abdb6071250b896b9d5b6e0c310d6e95666b4d7 (patch)
tree4d3e50e7ad92ef58db95d3299d77001f1cff9366 /fs/nfs/dns_resolve.c
parentnfsd: Fix memleak (diff)
downloadkernel-3abdb6071250b896b9d5b6e0c310d6e95666b4d7.tar.gz
kernel-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 <[email protected]>
Diffstat (limited to 'fs/nfs/dns_resolve.c')
0 files changed, 0 insertions, 0 deletions