diff options
Diffstat (limited to 'fs/ocfs2/quota_global.c')
-rw-r--r-- | fs/ocfs2/quota_global.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ocfs2/quota_global.c b/fs/ocfs2/quota_global.c index 355f41d1d520..faaa4d072c9a 100644 --- a/fs/ocfs2/quota_global.c +++ b/fs/ocfs2/quota_global.c | |||
@@ -260,10 +260,8 @@ ssize_t ocfs2_quota_write(struct super_block *sb, int type, | |||
260 | brelse(bh); | 260 | brelse(bh); |
261 | goto out; | 261 | goto out; |
262 | } | 262 | } |
263 | err = ocfs2_journal_dirty(handle, bh); | 263 | ocfs2_journal_dirty(handle, bh); |
264 | brelse(bh); | 264 | brelse(bh); |
265 | if (err < 0) | ||
266 | goto out; | ||
267 | out: | 265 | out: |
268 | if (err) { | 266 | if (err) { |
269 | mutex_unlock(&gqinode->i_mutex); | 267 | mutex_unlock(&gqinode->i_mutex); |