[Unionfs] Can't mount NFS-exported union anymore in unionfs-1.4
Erez Zadok
ezk at cs.sunysb.edu
Wed Nov 29 10:00:36 EST 2006
In message <E1GpEnu-0000h6-PN at jroun>, hooanon05 at yahoo.co.jp writes:
>
> I could reproduce the problem.
> The bug is related to parsing options.
> - remove all pathces and use plain unionfs-1.4.
> - If you meet a compile error, fix it by referencing my previous
> patches. you don't need entire patch, just to fix the compile error.
> - specify imap option AFTER dirs option.
That's odd, and an obvious bug.
> + if (!dirsfound) {
> + printk(KERN_WARNING
> + "unionfs: imap option should be after dirs option\n");
> + goto out_error;
> + }
But your proposed patch (snippet above) just enforces the ordering, which
isn't terribly clean. Why can't the patch simply accept the options in any
order, and handle them appropriately?
Thanks,
Erez.
More information about the unionfs
mailing list