NFS: Fix a umount race
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 3 Feb 2010 13:27:35 +0000 (08:27 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 3 Feb 2010 13:27:35 +0000 (08:27 -0500)
commit387c149b54b4321cbc790dadbd4f8eedb5a90468
tree535d63dd9b80ff239fa914449f89718db1f0bfd3
parent9f557cd8073104b39528794d44e129331ded649f
NFS: Fix a umount race

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>
Cc: stable@kernel.org
fs/nfs/super.c