From: Trond Myklebust Date: Fri, 15 Jun 2012 17:02:58 +0000 (-0400) Subject: NFSv4.1: Fix a race in set_pnfs_layoutdriver X-Git-Tag: v3.5-rc4~9^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a9c63fae7df086ff5e107273c3cce8642430974;p=pandora-kernel.git 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 --- Reading git-diff-tree failed