aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs/direct.c
diff options
context:
space:
mode:
authorTrond Myklebust2012-06-15 13:02:58 -0400
committerTrond Myklebust2012-06-19 13:32:45 -0400
commit0a9c63fae7df086ff5e107273c3cce8642430974 (patch)
treea8636a5d35f0ae5e45f64d27759dd02d7e2ca598 /fs/nfs/direct.c
parent2a4c8994eeef50796015f8a2005e4a75c1929166 (diff)
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: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/direct.c')
0 files changed, 0 insertions, 0 deletions