summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir_leaf.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@sgi.com>2005-11-02 15:06:18 +1100
committerNathan Scott <nathans@sgi.com>2005-11-02 15:06:18 +1100
commit5bde1ba99c8243617277f37897189c799e398baf (patch)
treed41b5f972c3b7f07cd0ea3af7c3f2775208e4f40 /fs/xfs/xfs_dir_leaf.c
parent9dac13e7ffddf40c7bf1bf8bf4f735af6c3d31ec (diff)
downloadop-kernel-dev-5bde1ba99c8243617277f37897189c799e398baf.zip
op-kernel-dev-5bde1ba99c8243617277f37897189c799e398baf.tar.gz
[XFS] silence gcc4 warnings. the directory ones are wrong because of
information gcc could not find out (that a directory always has a .. entry), the others are outright gcc bugs. SGI-PV: 943511 SGI-Modid: xfs-linux:xfs-kern:200055a Signed-off-by: Christoph Hellwig <hch@sgi.com> Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_dir_leaf.c')
-rw-r--r--fs/xfs/xfs_dir_leaf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dir_leaf.c b/fs/xfs/xfs_dir_leaf.c
index f0c603a..950df31e 100644
--- a/fs/xfs/xfs_dir_leaf.c
+++ b/fs/xfs/xfs_dir_leaf.c
@@ -628,7 +628,7 @@ xfs_dir_leaf_to_shortform(xfs_da_args_t *iargs)
xfs_dir_leaf_name_t *namest;
xfs_da_args_t args;
xfs_inode_t *dp;
- xfs_ino_t parent;
+ xfs_ino_t parent = 0;
char *tmpbuffer;
int retval, i;
xfs_dabuf_t *bp;
OpenPOWER on IntegriCloud