Skip to content
Commit 0a9c63fa authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4.1: Fix a race in set_pnfs_layoutdriver



The call to try_module_get() dereferences ld_type outside the
spin locks, which means that it may be pointing to garbage if
a module unload was in progress.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 2a4c8994
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment