diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-02-08 22:49:48 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-02-09 03:47:30 +0100 |
commit | de84d89030fa4efa44c02c96c8b4a8176042c4ff (patch) | |
tree | efa3d6b616d1c117e70456066ba698cc7ae0ea28 /fs/mpage.c | |
parent | SUNRPC: Add helpers to prevent socket create from racing (diff) | |
download | linux-de84d89030fa4efa44c02c96c8b4a8176042c4ff.tar.xz linux-de84d89030fa4efa44c02c96c8b4a8176042c4ff.zip |
SUNRPC: TCP/UDP always close the old socket before reconnecting
It is not safe to call xs_reset_transport() from inside xs_udp_setup_socket()
or xs_tcp_setup_socket(), since they do not own the correct locks. Instead,
do it in xs_connect().
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/mpage.c')
0 files changed, 0 insertions, 0 deletions