--- x/fs/xfs/xfs_qm.c +++ y/fs/xfs/xfs_qm.c @@ -461,12 +461,7 @@ xfs_qm_dquot_isolate( /* we have to drop the LRU lock to flush the dquot */ spin_unlock(lru_lock); - error = xfs_qm_dqflush(dqp, &bp); - if (error) - goto out_unlock_dirty; - - xfs_buf_delwri_queue(bp, &isol->buffers); - xfs_buf_relse(bp); + xfs_qm_dqflush(dqp, &bp); goto out_unlock_dirty; } xfs_dqfunlock(dqp);