xfs: do not add buffers to the delwri queue until pushed
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / xfs / xfs_trans_buf.c
index 1302d1d95a5850d121af792719b04d2d5672af39..296a7995a0076ec7f1e8220b0c5eb1dc78a339eb 100644 (file)
@@ -626,8 +626,6 @@ xfs_trans_log_buf(xfs_trans_t       *tp,
        bp->b_iodone = xfs_buf_iodone_callbacks;
        bip->bli_item.li_cb = xfs_buf_iodone;
 
-       xfs_buf_delwri_queue(bp);
-
        trace_xfs_trans_log_buf(bip);
 
        /*