Re: potential null dereference in __dcache_readdir()

2010-11-22 Thread Sage Weil
Hi Dan, On Fri, 19 Nov 2010, Dan Carpenter wrote: Hi hi! This is a smatch thing. We check if last is NULL and then dereference it later with out checking. It might be worth looking at. I'm not familiar enough with the code to know the fix. It comes from: commit

potential null dereference in __dcache_readdir()

2010-11-19 Thread Dan Carpenter
Hi hi! This is a smatch thing. We check if last is NULL and then dereference it later with out checking. It might be worth looking at. I'm not familiar enough with the code to know the fix. It comes from: commit 2817b000b02c5f0c05af67c01fb2684e1381d6ef Author: Sage Weil