)]}'
{
  "commit": "85dfd81dc57e8183a277ddd7a56aa65c96f3f487",
  "tree": "7b09e7d8fdc4dbe7e57a3fc2df659a5506dfaa77",
  "parents": [
    "d00aa6695b67a31be2ce5f7464da32c20cb50699"
  ],
  "author": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Mon Aug 10 13:21:19 2009 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Mon Aug 10 13:31:18 2009 -0700"
  },
  "message": "pty: fix data loss when stopped (^S/^Q)\n\nCommit d945cb9cc (\"pty: Rework the pty layer to use the normal buffering\nlogic\") dropped the test for \u0027tty-\u003estopped\u0027 in pty_write_room(), which\nthen causes the n_tty line discipline thing to not throttle the data\nproperly when the tty is stopped.\n\nSo instead of pausing the write due to the tty being stopped, the ldisc\nlayer would go ahead and push it down to the pty.  The pty write()\nroutine would then refuse to take the data (because it _did_ check\n\u0027stopped\u0027), and the data wouldn\u0027t actually be written.\n\nThis whole stopped test should eventually be moved into the tty ldisc\nlayer rather than have low-level tty drivers care about these things,\nbut right now the fix is to just re-instate the missing pty \u0027stopped\u0027\nhandling.\n\nReported-and-tested-by: Artur Skawina \u003cart.08.09@gmail.com\u003e\nCc: Alan Cox \u003calan@lxorguk.ukuu.org.uk\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6e6942c45f5b6cb76d6c1aaf91ed96fee9185ae7",
      "old_mode": 33188,
      "old_path": "drivers/char/pty.c",
      "new_id": "d083c73d784a76a34500c26cc582f3d68770be72",
      "new_mode": 33188,
      "new_path": "drivers/char/pty.c"
    }
  ]
}
