False positive.  I'll push a fix for this tomorrow.

regards,
dan carpenter

On Tue, Nov 18, 2014 at 12:08:16PM +0800, kbuild test robot wrote:
> TO: Al Viro <[email protected]>
> 
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
> master
> head:   efefb5ca5da52f7537c7ced03d6e53408f13a26e
> commit: 89f862f21bb1b2353022ca28cfe80e6e2a992294 [3386/7369] merge 
> d_materialise_unique() into d_splice_alias()
> :::::: branch date: 19 hours ago
> :::::: commit date: 2 weeks ago
> 
> New smatch warnings:
> fs/fuse/dir.c:392 fuse_lookup() error: passing non negative 2147383647 to 
> ERR_PTR
> fs/dcache.c:2662 d_splice_alias() error: passing non negative 2147383647 to 
> ERR_PTR
> 
> Old smatch warnings:
> fs/dcache.c:858 shrink_dentry_list() error: double lock 
> 'spin_lock:&inode->i_lock'
> fs/dcache.c:1091 d_walk() error: double lock 
> 'spin_lock:&this_parent->d_lockref.lock'
> fs/dcache.c:2269 d_delete() warn: inconsistent returns 
> 'spin_lock:&dentry->d_lockref.lock'.
> fs/dcache.c:2269 d_delete() warn: inconsistent returns 
> 'spin_lock:&inode->i_lock'.
> 
> git remote add next 
> git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> git remote update next
> git checkout 89f862f21bb1b2353022ca28cfe80e6e2a992294
> vim +392 fs/fuse/dir.c
> 
> c180eebe Miklos Szeredi 2008-07-25  376       err = PTR_ERR(newent);
> c180eebe Miklos Szeredi 2008-07-25  377       if (IS_ERR(newent))
> 5835f339 Miklos Szeredi 2013-09-05  378               goto out_err;
> d2a85164 Miklos Szeredi 2006-10-17  379  
> 0de6256d Miklos Szeredi 2008-07-25  380       entry = newent ? newent : entry;
> c180eebe Miklos Szeredi 2008-07-25  381       if (outarg_valid)
> 1fb69e78 Miklos Szeredi 2007-10-18  382               
> fuse_change_entry_timeout(entry, &outarg);
> 8cbdf1e6 Miklos Szeredi 2006-01-06  383       else
> 8cbdf1e6 Miklos Szeredi 2006-01-06  384               
> fuse_invalidate_entry_cache(entry);
> c180eebe Miklos Szeredi 2008-07-25  385  
> 4582a4ab Feng Shuo      2013-01-15  386       
> fuse_advise_use_readdirplus(dir);
> 0de6256d Miklos Szeredi 2008-07-25  387       return newent;
> c180eebe Miklos Szeredi 2008-07-25  388  
> c180eebe Miklos Szeredi 2008-07-25  389   out_iput:
> c180eebe Miklos Szeredi 2008-07-25  390       iput(inode);
> c180eebe Miklos Szeredi 2008-07-25  391   out_err:
> c180eebe Miklos Szeredi 2008-07-25 @392       return ERR_PTR(err);
> e5e5558e Miklos Szeredi 2005-09-09  393  }
> e5e5558e Miklos Szeredi 2005-09-09  394  
> 6f9f1180 Miklos Szeredi 2006-01-06  395  /*
> 6f9f1180 Miklos Szeredi 2006-01-06  396   * Atomic create+open operation
> 6f9f1180 Miklos Szeredi 2006-01-06  397   *
> 6f9f1180 Miklos Szeredi 2006-01-06  398   * If the filesystem doesn't support 
> this, then fall back to separate
> 6f9f1180 Miklos Szeredi 2006-01-06  399   * 'mknod' + 'open' requests.
> 6f9f1180 Miklos Szeredi 2006-01-06  400   */
> 
> :::::: The code at line 392 was first introduced by commit
> :::::: c180eebe1390c2076ead6a9bc95a02efb994edb7 fuse: add fuse_lookup_name() 
> helper
> 
> :::::: TO: Miklos Szeredi <[email protected]>
> :::::: CC: Linus Torvalds <[email protected]>
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
_______________________________________________
kbuild mailing list
[email protected]
https://lists.01.org/mailman/listinfo/kbuild

Reply via email to