aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/exportfs.h
diff options
context:
space:
mode:
authorOlga Kornievskaia <aglo@citi.umich.edu>2008-03-28 16:04:56 -0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2008-04-23 16:13:42 -0400
commitff7d9756b501744540be65e172d27ee321d86103 (patch)
treed5f812aa7dd230e51f4b5e2d921692757f41b983 /include/linux/exportfs.h
parentSUNRPC: remove svc_create_thread() (diff)
downloadlinux-dev-ff7d9756b501744540be65e172d27ee321d86103.tar.xz
linux-dev-ff7d9756b501744540be65e172d27ee321d86103.zip
nfsd: use static memory for callback program and stats
There's no need to dynamically allocate this memory, and doing so may create the possibility of races on shutdown of the rpc client. (We've witnessed it only after adding rpcsec_gss support to the server, after which the rpc code can send destroys calls that expect to still be able to access the rpc_stats structure after it has been destroyed.) Such races are in theory possible if the module containing this "static" memory is removed very quickly after an rpc client is destroyed, but we haven't seen that happen. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include/linux/exportfs.h')
0 files changed, 0 insertions, 0 deletions