)]}'
{
  "commit": "9622209360c25d78a81048a9db72f1efef7fbc58",
  "tree": "8bcf21590b5dd8aa69d8543c0cfda2d1a64db95e",
  "parents": [
    "f48a203e4e0463c706987d0b4eb04bee7d3a3dad"
  ],
  "author": {
    "name": "Daniel Almeida",
    "email": "daniel.almeida@collabora.com",
    "time": "Thu Aug 28 17:52:19 2025 -0300"
  },
  "committer": {
    "name": "Boqun Feng",
    "email": "boqun.feng@gmail.com",
    "time": "Mon Sep 15 22:28:35 2025 -0400"
  },
  "message": "rust: lock: Add a Pin\u003c\u0026mut T\u003e accessor\n\nIn order for callers to be able to access the inner T safely if T:\n!Unpin, there needs to be a way to get a Pin\u003c\u0026mut T\u003e. Add this accessor\nand a corresponding example to tell users how it works.\n\nThis requires the pin projection functionality [1] for better ergonomic.\n\nLink: https://github.com/Rust-for-Linux/linux/issues/1181\nLink: https://lore.kernel.org/rust-for-linux/20250912174148.373530-1-lossin@kernel.org/ [1]\nSuggested-by: Benno Lossin \u003clossin@kernel.org\u003e\nSuggested-by: Boqun Feng \u003cboqun.feng@gmail.com\u003e\nReviewed-by: Alice Ryhl \u003caliceryhl@google.com\u003e\nSigned-off-by: Daniel Almeida \u003cdaniel.almeida@collabora.com\u003e\nReviewed-by: Benno Lossin \u003clossin@kernel.org\u003e\n[boqun: Apply Daniel\u0027s fix to the code example, add the reference to pin\nprojection patch and remove out-of-date part in the commit log]\nSigned-off-by: Boqun Feng \u003cboqun.feng@gmail.com\u003e\n",
  "notes": "SubmissionLink: https://lore.kernel.org/all/20250828-lock-t-when-t-is-pinned-v2-3-b067c4b93fd6@collabora.com/\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9242790d15dbf65d66518d060a8a777aac558cfc",
      "old_mode": 33188,
      "old_path": "rust/kernel/sync/lock.rs",
      "new_id": "cb00fdb94ffd005c57e18d8fbb9f6d42c3c88105",
      "new_mode": 33188,
      "new_path": "rust/kernel/sync/lock.rs"
    }
  ]
}
