cifs: move cifs_umount() call into ->kill_sb()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 17 Jun 2011 13:32:10 +0000 (09:32 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 24 Jun 2011 22:39:42 +0000 (18:39 -0400)
commit98ab494dd1d25388981114057cf9446250cc7dc7
tree504637660e92f4438ed9bd105ac2644ab021813d
parent97d1152acec0647b72f8c6ecc57da0d6fed574de
cifs: move cifs_umount() call into ->kill_sb()

instead of calling it manually in case if cifs_read_super() fails
to set ->s_root, just call it from ->kill_sb().  cifs_put_super()
is gone now *and* we have cifs_sb shutdown and destruction done
after the superblock is gone from ->s_instances.

Acked-by: Pavel Shilovsky <piastryyy@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/cifs/cifsfs.c