git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1774eaa
)
linux-umount-begin-dont-preclude-afs-put-super-from-usefully-calling-afs-shutdown...
author
Derrick Brashear
<shadow@dementia.org>
Thu, 11 Oct 2001 04:15:28 +0000 (
04:15
+0000)
committer
Derrick Brashear
<shadow@dementia.org>
Thu, 11 Oct 2001 04:15:28 +0000 (
04:15
+0000)
afs_put_super calls afs_shutdown, which expects to be called with
afs_shuttingdown equal to 0, not 1
src/afs/LINUX/osi_vfsops.c
patch
|
blob
|
history
diff --git
a/src/afs/LINUX/osi_vfsops.c
b/src/afs/LINUX/osi_vfsops.c
index
f43367f
..
b291a28
100644
(file)
--- 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;
}