commit d9f39bf395d7cf0d588a261504e00e814177a36e
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date:   Fri Apr 27 12:43:48 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 
2e659bedbada7e533d5a6c96c5f4db5f99c6bd97..55f344d17de41357915405064e05545f043b9a56
 100644
--- a/fs/unionfs/super.c
+++ b/fs/unionfs/super.c
@@ -453,7 +453,7 @@ static int unionfs_remount_fs(struct sup
         * 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

Reply via email to