commit febda0868e5456653f8fee0315d6bde743224cac
Author: Adrian Brunyate <[EMAIL PROTECTED]>
Date: Thu Apr 26 18:51:16 2007 -0400
Unionfs: Check remount options for being NULL
Signed-off-by: Adrian Brunyate <[EMAIL PROTECTED]>
Signed-off-by: Josef 'Jeff' Sipek <[EMAIL PROTECTED]>
diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c
index ee12d03..02c0cc8 100644
--- a/fs/unionfs/super.c
+++ b/fs/unionfs/super.c
@@ -442,7 +442,7 @@ static int unionfs_remount_fs(struct super_block *sb, int
*flags,
* the union to a "ro" or "rw" and the VFS took care of it. So
* nothing to do and we're done.
*/
- if (options[0] == '\0')
+ if (!options || options[0] == '\0')
goto out_error;
/*
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs