From: Jan Kara Date: Tue, 25 Nov 2008 14:31:26 +0000 (+0100) Subject: ocfs2: Add missing initialization X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=57a09a7b3d9445a17c78d544f1e49d4d7d61705a;p=openwrt%2Fstaging%2Fblogic.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;