[PATCH 8/8] autofs4-2.6 - to support autofs 4.1.x

From: raven
Date: Wed Jan 28 2004 - 10:54:55 EST



Patch:

8-autofs4-2.6.1-vfsmount_lock.patch

Exports vfsmount_lock as it's needed by the expire rewrite.

diff -Nur linux-2.6.1/fs/namespace.c linux-2.6.1.vfsmount_lock/fs/namespace.c
--- linux-2.6.1/fs/namespace.c 2004-01-09 14:59:45.000000000 +0800
+++ linux-2.6.1.vfsmount_lock/fs/namespace.c 2004-01-28 22:10:25.000000000 +0800
@@ -28,6 +28,9 @@

/* spinlock for vfsmount related operations, inplace of dcache_lock */
spinlock_t vfsmount_lock __cacheline_aligned_in_smp = SPIN_LOCK_UNLOCKED;
+
+EXPORT_SYMBOL(vfsmount_lock);
+
static struct list_head *mount_hashtable;
static int hash_mask, hash_bits;
static kmem_cache_t *mnt_cache;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/