summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/chips/cfi_cmdset_0002.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 09:40:27 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 09:40:27 -0400
commit28df955a2ad484d602314b30183ea8496a9aa34a (patch)
treec62632b2a0a49df114283f10764244c1b1b5f506 /drivers/mtd/chips/cfi_cmdset_0002.c
parent5046791417dcac1ba126b77b8062af15a2f0b8e1 (diff)
downloadlinux-stable-28df955a2ad484d602314b30183ea8496a9aa34a.tar.gz
linux-stable-28df955a2ad484d602314b30183ea8496a9aa34a.tar.bz2
linux-stable-28df955a2ad484d602314b30183ea8496a9aa34a.zip
NLM: Fix reclaim races
Currently it is possible for a task to remove its locks at the same time as the NLM recovery thread is trying to recover them. This quickly leads to an Oops. Protect the locks using an rw semaphore while they are being recovered. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'drivers/mtd/chips/cfi_cmdset_0002.c')
0 files changed, 0 insertions, 0 deletions