[XFS] Zero uninitialised xfs_da_args structure in xfs_dir2.c
authorBarry Naujok <bnaujok@sgi.com>
Tue, 3 Jun 2008 01:59:18 +0000 (11:59 +1000)
committerNiv Sardi <xaiki@debian.org>
Mon, 28 Jul 2008 06:58:46 +0000 (16:58 +1000)
commit87affd08bc9c741b99053cabb908cf54a135a0fa
tree27b72efbae045a45829a09e7e9a0109dc5f09b13
parent866d5dc974682c6247d5fde94dbc6545f864e7d7
[XFS] Zero uninitialised xfs_da_args structure in xfs_dir2.c

Fixes a problem in the xfs_dir2_remove and xfs_dir2_replace paths which
intenally call directory format specific lookup funtions that assume
args->cmpresult is zeroed.

SGI-PV: 982606
SGI-Modid: xfs-linux-melb:xfs-kern:31268a

Signed-off-by: Barry Naujok <bnaujok@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
fs/xfs/xfs_dir2.c