Re: [PATCH 5/7] overlay filesystem (inode.c bad error path)

From: Miklos Szeredi
Date: Fri May 20 2011 - 04:54:20 EST


Erez Zadok <ezk@xxxxxxxxxxxxxxxxx> writes:

> I tried your overlayfs.v9 git repo w/ racer, using two separate ext3
> filesystems (one for lowerdir and another for upperdir). I got the
> WARN_ON in ovl_permission to trigger within about 10 minutes of
> testing. Looking at the code, I see a problem in returning w/o
> cleaning up an dput-ing the alias dentry. Simple patch enclosed
> below.

Hmm, thanks. The more interesting question is: why does that WARN_ON
trigger? I'll look into it.

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/