]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
NFSv4: Fix another open/open_recovery deadlock
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 1 Mar 2013 00:19:59 +0000 (16:19 -0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 1 Mar 2013 00:19:59 +0000 (16:19 -0800)
commit7aa262b522ee5a7f1bf9b8fe34539b262ba6da0a
tree9d3ef00b6398d9bd5210800fc3ffcefa68d31e3b
parentf6488c9ba51d65410e2dbc4345413c0d9120971e
NFSv4: Fix another open/open_recovery deadlock

If we don't release the open seqid before we wait for state recovery,
then we may end up deadlocking the state recovery thread.
This patch addresses a new deadlock that was introduced by
commit c21443c2c792cd9b463646d982b0fe48aa6feb0f (NFSv4: Fix a reboot
recovery race when opening a file)

Reported-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c