ocfs2/quota: Release lock for error in ocfs2_quota_write.
[linux-2.6.git] / fs / ocfs2 / quota_global.c
index cc8785c..d604a6a 100644 (file)
@@ -238,7 +238,7 @@ ssize_t ocfs2_quota_write(struct super_block *sb, int type,
        }
        if (err) {
                mlog_errno(err);
-               return err;
+               goto out;
        }
        lock_buffer(bh);
        if (new)