diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2010-03-30 01:02:31 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2010-03-30 01:02:31 (GMT) |
commit | 788e69e548cc8d127b90f0de1f7b7e983d1d587a (patch) | |
tree | b8312151a877978d579af189789e1f3f477f3a5f /fs/nfsd | |
parent | a5990ea1254cd186b38744507aeec3136a0c1c95 (diff) | |
download | linux-788e69e548cc8d127b90f0de1f7b7e983d1d587a.tar.xz |
svcrpc: don't hold sv_lock over svc_xprt_put()
svc_xprt_put() can call tcp_close(), which can sleep, so we shouldn't be
holding this lock.
In fact, only the xpt_list removal and the sv_tmpcnt decrement should
need the sv_lock here.
Reported-by: Mi Jinlong <mijinlong@cn.fujitsu.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions