Tomas M:
> and then I add branches one by one, by using
> 
>     mount -o remount,add:1:/mnt/images/image1 aufs /union
> 
> for example. This works OK and branches are added to the union, but 
> remounting the union ro causes the oops I sent you. Do you still agree 
> it's a problem of the lenght of mount arguments?

I think so.
Will you try this patch?

Junjiro Okajima

Index: fs/aufs/opts.c
===================================================================
RCS file: /cvsroot/aufs/aufs/fs/aufs/opts.c,v
retrieving revision 1.24
diff -u -p -r1.24 opts.c
--- fs/aufs/opts.c      12 Feb 2007 02:57:13 -0000      1.24
+++ fs/aufs/opts.c      13 Feb 2007 12:04:21 -0000
@@ -633,9 +633,12 @@ int parse_opts(struct super_block *sb, c
                        Err("unknown option %s\n", opt_str);
                        break;
                }
+
                if (!err && !skipped) {
                        if (unlikely(++opt > opt_tail)) {
                                err = -E2BIG;
+                               opt--;
+                               opt->type = Opt_tail;
                                break;
                        }
                        opt->type = Opt_tail;

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Reply via email to