summaryrefslogtreecommitdiff
path: root/fs/ocfs2/quota_global.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2008-11-25 15:31:26 +0100
committerMark Fasheh <mfasheh@suse.com>2009-01-05 08:40:24 -0800
commit57a09a7b3d9445a17c78d544f1e49d4d7d61705a (patch)
tree27c0221c4fe220a3cfeba71af2e6f35f68f69212 /fs/ocfs2/quota_global.c
parentb86c86fa1feb50221dc16071ae5b8a4acf3bd32c (diff)
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>
Diffstat (limited to 'fs/ocfs2/quota_global.c')
-rw-r--r--fs/ocfs2/quota_global.c2
1 files changed, 1 insertions, 1 deletions
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;