ocfs2: fix journal commit deadlock
[firefly-linux-kernel-4.4.55.git] / fs / ocfs2 / quota_local.c
index 27fe7ee4874cbac39381b90694e0ce7c0c11ce66..d0f323da0b5c4ecfa52dbc73179fcdf5e40735d1 100644 (file)
@@ -1303,10 +1303,6 @@ int ocfs2_local_release_dquot(handle_t *handle, struct dquot *dquot)
        ocfs2_journal_dirty(handle, od->dq_chunk->qc_headerbh);
 
 out:
-       /* Clear the read bit so that next time someone uses this
-        * dquot he reads fresh info from disk and allocates local
-        * dquot structure */
-       clear_bit(DQ_READ_B, &dquot->dq_flags);
        return status;
 }