linux-next: build warning from Linus' tree

Stephen Rothwell
2011-06-03T01:10:52Z

[-- Attachment #1: Type: text/plain, Size: 606 bytes --]

Hi all,

With Linus' tree, today's linux-next build (x86_64 allmodconfig) produced
this warning:

fs/btrfs/delayed-inode.c: In function 'btrfs_batch_insert_items':
fs/btrfs/delayed-inode.c:670:6: warning: 'nitems' may be used uninitialized in this function

Introduced by commit 16cdcec736cd ("btrfs: implement delayed inode items
operation"). I think this is a real bug. This variable is not
initialised, only incremented and tested.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

P.S. Chris, time to get a tree into linux-next?

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]