Felix, On Fri, 18 Mar 2011, Felix Fietkau wrote: > Some filesystems (e.g. jffs2) lock the same resources for both readdir > and lookup, leading to a deadlock in ovl_dir_read_merged, which uses > a lookup in the filldir callback for the upper filesystem to identify > whiteout entries. > Fix this by moving all links to the head of the list and marking whiteouts > after readdir. > > Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx> Thanks for the patches. I committed and pushed them out to the overlayfs.v6 branch at git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs.v6 Also added one optimization and one fix. I'll post those two patches here shortly. Please test. Thanks, Miklos -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html