This patch forces reiserfs_create to open the device exclusively. Signed-off-by: Jeff Mahoney <jeffm@xxxxxxxx> --- reiserfscore/reiserfslib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/reiserfscore/reiserfslib.c 2008-01-24 13:39:03.000000000 -0500 +++ b/reiserfscore/reiserfslib.c 2008-01-24 13:39:04.000000000 -0500 @@ -206,7 +206,7 @@ reiserfs_filsys_t * reiserfs_create (cha return 0; } - fs->fs_dev = open (filename, O_RDWR + fs->fs_dev = open (filename, O_RDWR | O_EXCL #if defined(O_LARGEFILE) | O_LARGEFILE #endif - To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html