[Btrfs-devel] [PATCH 2/4] btrfs: silence warning in btrfs_mkdir()

Jens Axboe jens.axboe at oracle.com
Thu Feb 7 00:22:28 PST 2008


On Wed, Feb 06 2008, Jeff Mahoney wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
>  Gcc complains that inode can be used uninitialized, but it can't due
>  to the drop_on_err check. This silences the complaint.

There's uninitialized_var() for that purpose :-)

-- 
Jens Axboe




More information about the Btrfs-devel mailing list