From: Derrick Brashear Date: Thu, 11 Oct 2001 04:15:28 +0000 (+0000) Subject: linux-umount-begin-dont-preclude-afs-put-super-from-usefully-calling-afs-shutdown... X-Git-Tag: openafs-devel-1_3_0~218 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=26996e0cb8c1ff90748b8edf32b8d6293e28aa67;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/afs/LINUX/osi_vfsops.c b/src/afs/LINUX/osi_vfsops.c index f43367f49..b291a2881 100644 --- a/src/afs/LINUX/osi_vfsops.c +++ b/src/afs/LINUX/osi_vfsops.c @@ -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; }