just happened to see this on reiserfs list... Wonder if something similar might be the cause of the umount issues w/ afs? -- Nathan -----Original Message----- From: Phil Auld [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 19, 2001 2:24 PM To: [EMAIL PROTECTED] Subject: [reiserfs-list] Non-daemonized kernel thread Hi all, Thanks for the great file system. One thing I have noticed is umount reporting busy filesystems. This has been traced to kernel threads not removing their fs attachments on start-up. The daemonize function in 2.4 will be a nice thing to move onto. Reiserfs is far from alone in this :) The simple scenario is to mount a file system, cd into it, then mount a reiserfs file system somewhere not under this file system. Then cd out of the first file system and umount will fail. Here is the one liner in case someone wants to incorporate it into the tree. It is for 3.5.32 although it may apply to 3.6.x with a line offset. --- journal.c.orig Thu Apr 19 15:12:56 2001 +++ journal.c Thu Apr 19 15:12:12 2001 @@ -1846,6 +1846,7 @@ lock_kernel() ; exit_files(current); exit_mm(current); + exit_fs(current); spin_lock_irq(¤t->sigmask_lock); sigfillset(¤t->blocked); Cheers, Phil ------------------------------------------------------ Philip R. Auld, Ph.D. Technical Staff Egenera Corp. [EMAIL PROTECTED] 165 Forest St, Marlboro, MA 01752 (508)786-9444 _______________________________________________ OpenAFS-devel mailing list [EMAIL PROTECTED] https://lists.openafs.org/mailman/listinfo.cgi/openafs-devel
