)]}'
{
  "commit": "f0de0e8d3565ee7feba6228d99763d4cea2087a6",
  "tree": "2fd63db33a1f1e472325a8f4efd9f9b1b87729b0",
  "parents": [
    "7a4b23104bd2624d16681158a9b338c502c103a0"
  ],
  "author": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Mon Aug 03 16:00:15 2009 -0700"
  },
  "committer": {
    "name": "Live-CD User",
    "email": "linux@linux.site",
    "time": "Sat Sep 19 13:13:10 2009 -0700"
  },
  "message": "tty-ldisc: make /proc/tty/ldiscs use ldisc_ops instead of ldiscs\n\nThe /proc/tty/ldiscs file is totally and utterly un-interested in the\n\"struct tty_ldisc\" structures, and only cares about the underlying ldisc\noperations.\n\nSo don\u0027t make it create a dummy \u0027struct ldisc\u0027 only to get a pointer to\nthe operations, and then destroy it.  Instead, we split up the function\n\u0027tty_ldisc_try_get()\u0027, and create a \u0027get_ldops()\u0027 helper that just looks\nup the ldisc operations based on the ldisc number.\n\nThat makes the code simpler to read (smaller and more well-defined\nhelper functions), and allows the /proc functions to avoid creating that\nuseless dummy only to immediately free it again.\n\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\nTested-by: Sergey Senozhatsky \u003csergey.senozhatsky@mail.by\u003e\nCc: Alan Cox \u003calan@lxorguk.ukuu.org.uk\u003e\nCc: OGAWA Hirofumi \u003chirofumi@mail.parknet.co.jp\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e48af9f79219a0dec76315724eeeaaae3a4102d6",
      "old_mode": 33188,
      "old_path": "drivers/char/tty_ldisc.c",
      "new_id": "cbfacc0bbea520764bdc176dab20f47e0f90a3e2",
      "new_mode": 33188,
      "new_path": "drivers/char/tty_ldisc.c"
    }
  ]
}
