浏览代码

ocfs2: Add missing initialization

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>
Jan Kara 16 年之前
父节点
当前提交
57a09a7b3d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs/ocfs2/quota_global.c

+ 1 - 1
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;