NFSv4: Close another NFSv4 recovery race
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 29 May 2013 17:34:46 +0000 (13:34 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 6 Jun 2013 20:24:44 +0000 (16:24 -0400)
commitc45ffdd26961302ec5eeac7311553d6f1e348e9c
tree2e7afeafe15c0a6c3886cd16a4cc601337ee3ea5
parent275bb307865a316cef390e01e6ab5e21e97023a2
NFSv4: Close another NFSv4 recovery race

State recovery currently relies on being able to find a valid
nfs_open_context in the inode->open_files list.
We therefore need to put the nfs_open_context on the list while
we're still protected by the sp->so_reclaim_seqcount in order
to avoid reboot races.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c
fs/nfs/nfs4proc.c
include/linux/nfs_fs.h