btrfs_inode_by_name return random value.
authorYan <yanzheng@21cn.com>
Thu, 25 Oct 2007 19:48:28 +0000 (15:48 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:57 +0000 (11:03 -0400)
commit0d9f7f3e27a92b07212090a1772fdbb3a92fef81
treeb8922ebb34225f70b7a51fe53ad1fdd91ae2647b
parent5708b9591617486bf1aa5b1a97f2c0549ec87933
btrfs_inode_by_name return random value.

When inode is found, the return value is from the uninitialized
variable 'ret'.

--

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode.c