[Unionfs] NULL pointer dereference if copyup_dentry() failed?
Tetsuo Handa
penguin-kernel at i-love.sakura.ne.jp
Mon Sep 22 00:09:41 EDT 2008
Hello.
Erez Zadok wrote:
> Thanks, Tetsuo. I was able to reproduce the bug even w/ your old procedure,
> and I understand now how it happens; the hint is some debugging info that
> unionfs prints up as "CI" (Check Inode) shortly before the oops.
>
> The patch below fixes this bug. I tried it on top of unionfs-2.5 + 2.6.24.7
> + your patches as per your original email. With this patch I get this
> behaviour from /bin/touch (I assume that's what supposed to happen, right?):
>
> # /bin/touch /mnt/foo
> /bin/touch: setting times of `/mnt/foo': Operation not permitted
Right.
> Please try this patch and let me know.
It solved the problem for both CentOS 5.2 and Debian Sarge.
Thank you very much.
More information about the unionfs
mailing list