linux-umount-begin-dont-preclude-afs-put-super-from-usefully-calling-afs-shutdown...
[openafs.git] / src / afs / LINUX / osi_vfsops.c
index f43367f..b291a28 100644 (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;
 }