Re: dcache shrink list corruption?

From: Miklos Szeredi
Date: Thu May 01 2014 - 05:43:06 EST


Two points about latest version (dentry_kill-2):

- Doing anything with dentry->d_parent in case of DCACHE_DENTRY_KILLED looks
seriously wrong. Parent has been dealt with, at that point, by the other
caller, no?

- "bool foo = flag & FLAG" looks suspicious. Is this guaranteed not to
overflow?

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/