NFS: Fix a umount race
commit16e63ecd5d683fe18d91fcd1e6a7f63468f7d805
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 3 Feb 2010 13:27:35 +0000 (3 08:27 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Feb 2010 15:37:51 +0000 (23 07:37 -0800)
tree85f0f3579204473780f95fe90e8ff4c8a225e45b
parent04673da74dbd331040fa439bd72963a35f1b67cf
NFS: Fix a umount race

commit 387c149b54b4321cbc790dadbd4f8eedb5a90468 upstream.

Ensure that we unregister the bdi before kill_anon_super() calls
ida_remove() on our device name.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfs/super.c