Messages in this thread Patch in this message | | | Date | Tue, 20 Apr 2004 22:27:14 +0800 (WST) | From | raven@themaw ... | Subject | Re: 2.6.6-rc1-mm1 |
| |
Looking at the autofs4_may_umount I think I take the vfsmount_lock to late.
--- linux-2.6.6-rc1-mm1.orig/fs/autofs4/expire.c 2004-04-20 22:08:39.000000000 +0800 +++ linux-2.6.6-rc1-mm1/fs/autofs4/expire.c 2004-04-20 22:20:06.000000000 +0800 @@ -53,10 +53,9 @@ int actual_refs; int minimum_refs; + spin_lock(&vfsmount_lock); actual_refs = atomic_read(&mnt->mnt_count); minimum_refs = 2; - - spin_lock(&vfsmount_lock); repeat: next = this_parent->mnt_mounts.next; resume:
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |