On Tue, Jun 18, 2019 at 09:55:48PM +0100, David Howells wrote:
> Dan Carpenter <dan.carpen...@oracle.com> wrote:
> 
> > New smatch warnings:
> > fs/afs/dir.c:1392 afs_unlink() error: we previously assumed 'vnode' could 
> > be null (see line 1375)
> 
> Hmmm... is it actually possible for inode->i_op->unlink() to be entered with a
> dentry that doesn't point to an inode?
> 

Nope.  It's not.

Smatch is supposed to not generate a warning in situations like this but
here it gets confused by some code in reiserfs.  I have a couple ideas
how to fix this eventually but those are long term projects.

regards,
dan carpenter
_______________________________________________
kbuild mailing list
kbuild@lists.01.org
https://lists.01.org/mailman/listinfo/kbuild

Reply via email to