ocfs2: Silence a gcc warning.
[safe/jmp/linux-2.6] / fs / ocfs2 / quota_global.c
index ed96b3e..faaa4d0 100644 (file)
@@ -260,10 +260,8 @@ ssize_t ocfs2_quota_write(struct super_block *sb, int type,
                brelse(bh);
                goto out;
        }
-       err = ocfs2_journal_dirty(handle, bh);
+       ocfs2_journal_dirty(handle, bh);
        brelse(bh);
-       if (err < 0)
-               goto out;
 out:
        if (err) {
                mutex_unlock(&gqinode->i_mutex);
@@ -851,9 +849,6 @@ static void ocfs2_destroy_dquot(struct dquot *dquot)
 }
 
 const struct dquot_operations ocfs2_quota_operations = {
-       .initialize     = dquot_initialize,
-       .drop           = dquot_drop,
-       .transfer       = dquot_transfer,
        .write_dquot    = ocfs2_write_dquot,
        .acquire_dquot  = ocfs2_acquire_dquot,
        .release_dquot  = ocfs2_release_dquot,