From: Jan Kara Date: Tue, 25 Nov 2008 14:31:26 +0000 (+0100) Subject: ocfs2: Add missing initialization X-Git-Tag: Ubuntu-goldfish-3.4.0-4.27~13866^2~64 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=57a09a7b3d9445a17c78d544f1e49d4d7d61705a;p=mirror_ubuntu-zesty-kernel.git ocfs2: Add missing initialization Add missing variable initialization to ocfs2_dquot_drop_slow(). Signed-off-by: Jan Kara Signed-off-by: Mark Fasheh --- diff --git a/fs/ocfs2/quota_global.c b/fs/ocfs2/quota_global.c index 49b536a2190d..10ecb33298d8 100644 --- a/fs/ocfs2/quota_global.c +++ b/fs/ocfs2/quota_global.c @@ -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;