diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-01-11 19:18:26 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-31 18:20:25 -0500 |
commit | f5131257f771ad0e84cf0314a2a86b66318755a9 (patch) | |
tree | bb91fb8a51ca5d0ad6483cc62d1d6c2956be6fb1 /fs/nfs/cache_lib.c | |
parent | 80df9d202255071c8ec610a6a3fdca5cac69f7bd (diff) | |
download | linux-f5131257f771ad0e84cf0314a2a86b66318755a9.tar.gz linux-f5131257f771ad0e84cf0314a2a86b66318755a9.tar.xz |
SUNRPC: remove RPC client pipefs dentries after unregister
Without this patch we have races:
rpc_fill_super rpc_free_client
rpc_pipefs_event(MOUNT) rpc_remove_pipedir
spin_lock(&rpc_client_lock);
rpc_setup_pipedir_sb
spin_unlock(&rpc_client_lock);
spin_lock(&rpc_client_lock);
(remove from list)
spin_unlock(&rpc_client_lock);
MEAMORY LEAKED
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/cache_lib.c')
0 files changed, 0 insertions, 0 deletions