summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Kara2008-11-25 15:31:26 +0100
committerMark Fasheh2009-01-05 17:40:24 +0100
commit57a09a7b3d9445a17c78d544f1e49d4d7d61705a (patch)
tree27c0221c4fe220a3cfeba71af2e6f35f68f69212
parentocfs2: Use BH_JBDPrivateStart instead of BH_Unshadow (diff)
downloadkernel-qcow2-linux-57a09a7b3d9445a17c78d544f1e49d4d7d61705a.tar.gz
kernel-qcow2-linux-57a09a7b3d9445a17c78d544f1e49d4d7d61705a.tar.xz
kernel-qcow2-linux-57a09a7b3d9445a17c78d544f1e49d4d7d61705a.zip
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>
-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;