lkml.org 
[lkml]   [1999]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: swapon crashes computer

> Maybe the cleanest patch would have set_blocksize return the original
> value, so that a failed swapon can restore the original state of affairs:
I don't like read/modify/write cycles: this will sooner or later
cause problems on SMP systems. But I'll test you patch and tell you if
it
fixes the problem. (I have an UP machine)


I think that sys_swapon() and sys_mount() should use identical tests for
"device busy", currently sys_mount() only returns "busy" for
filesystems, and tries to mount swap partitions, and sys_swapon()
only checks for swap partitions and tries to mount file system
partitions.

Regards,
Manfred

-
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/

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