lkml.org 
[lkml]   [2004]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.141 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site