>look at http://roadrunner.swansea.uk.linux.org/alan.shtml
>Alan has submitted it to Linus. There isn't an official 36 yet. I just
>checked.
.12 is at least one small patch missing:
--- cut ---
>Path: news.hometree.net!mail-2-news-gateway
>From: hpa@transmeta.com (H. Peter Anvin)
>Newsgroups: hometree.ml.linux.autofs
>Subject: Yet another autofs patch
>Date: 31 Jan 1998 07:44:21 +0100
>Organization: TANSTAAFL! Consulting
>Lines: 34
>Sender: mail@limes.hometree.net
>Message-ID: <199801310625.WAA00574@cesium.transmeta.com>
>NNTP-Posting-Host: limes.hometree.net
>Xref: news.hometree.net hometree.ml.linux.autofs:335
Okay, I think I have finally found and eliminated the hung autofs
problem (knock on wood.) Since this problem is very hard to
reproduce, I can't say for sure that it's been resolved, but this is
definitely a bug and fixing it can't hurt.
This bug probably *does* exist in the 2.0.x series of kernels (and
2.1.x for x < 43, which uses the 2.0.x code) but should be much more
harmless on those systems. However, applying this patch to those
kernels probably should work, too.
Here is the patch; it will hopefully be included in 2.1.85 as well.
-hpa
--- stock/linux-2.1.84/fs/autofs/dirhash.c Mon Jul 7 12:45:57 1997
+++ linux-2.1.84-smp/fs/autofs/dirhash.c Fri Jan 30 22:10:29 1998
@@ -2,7 +2,7 @@
*
* linux/fs/autofs/dirhash.c
*
- * Copyright 1997 Transmeta Corporation -- All Rights Reserved
+ * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
*
* This file is part of the Linux kernel and is made available under
* the terms of the GNU General Public License, version 2, or at your
@@ -84,6 +84,8 @@
ent->next = *dhnp;
ent->back = dhnp;
*dhnp = ent;
+ if ( ent->next )
+ ent->next->back = &(ent->next);
}
void autofs_hash_delete(struct autofs_dir_ent *ent)
--- cut ---
Yes, I sent it to Alan and hpa for inclusion into final 2.0.36
Ciao
Henning
-- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- hps@tanstaafl.de TANSTAAFL! Consulting - Unix, Internet, SecurityHutweide 15 Fon.: 09131 / 50654-0 "There ain't no such D-91054 Buckenhof Fax.: 09131 / 50654-20 thing as a free Linux"
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/