ocfs2: Add missing initialization
authorJan Kara <jack@suse.cz>
Tue, 25 Nov 2008 14:31:26 +0000 (15:31 +0100)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:40:24 +0000 (08:40 -0800)
Add missing variable initialization to ocfs2_dquot_drop_slow().

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/quota_global.c

index 49b536a2190d082bcd1aba45fbc5b4e9a0ac0327..10ecb33298d8a405b45b03d2aa57377f615f793f 100644 (file)
@@ -870,7 +870,7 @@ out:
 
 static int ocfs2_dquot_drop_slow(struct inode *inode)
 {
-       int status;
+       int status = 0;
        int cnt;
        int got_lock[MAXQUOTAS] = {0, 0};
        handle_t *handle;