linux-umount-begin-dont-preclude-afs-put-super-from-usefully-calling-afs-shutdown-20011010

afs_put_super calls afs_shutdown, which expects to be called with
afs_shuttingdown equal to 0, not 1
This commit is contained in:
Derrick Brashear 2001-10-11 04:15:28 +00:00
parent 1774eaacce
commit 26996e0cb8

View File

@ -335,8 +335,8 @@ int afs_statfs(struct super_block *sbp, struct statfs *statp, int size)
void
afs_umount_begin(struct super_block *sbp)
{
afs_shuttingdown=1;
afs_put_super(sbp);
afs_shuttingdown=1;
afs_was_mounted=0;
}