)]}'
{
  "commit": "f4513aa889cdac840c50612c885566c95151495a",
  "tree": "d7327de4ec3bb1cfd476184c941272d82e82dfa2",
  "parents": [
    "a248940b23585f1835548f4155de52bfc4c3dbc7"
  ],
  "author": {
    "name": "Daeho Jeong",
    "email": "daehojeong@google.com",
    "time": "Wed Aug 26 11:11:21 2026 -0700"
  },
  "committer": {
    "name": "Jaegeuk Kim",
    "email": "jaegeuk@kernel.org",
    "time": "Tue Sep 08 19:56:00 2026 +0000"
  },
  "message": "mkfs.f2fs: enforce alias_filename to match device name\n\nThe kernel expects the device alias file in the root directory to match\nthe device basename (strrchr(path, \u0027/\u0027) + 1) to identify the target device\nboth during mount in f2fs_restore_device_alias() and during reserve in\nf2fs_ioc_reserve_dev_alias().\n\nIf a custom alias filename that differs from the device name is used,\nthe kernel fails to match the alias file at mount time (leaving\nFDEV(i).has_alias unset and allowing pinned files to allocate in that\nrange) and subsequently fails to reserve the device range when requested.\n\nEnforce that if an alias filename is specified, it must match the device\nname. Also allow specifying just \u0027-c \u003cdevice\u003e@\u0027 as a shorthand so users\ndo not have to redundantly type the device basename twice.\n\nReported-by: Wenjie Qi \u003cqiwenjie@xiaomi.com\u003e\nFixes: 8cc4e257ec20 (\"mkfs.f2fs: add device aliasing feature\")\nSigned-off-by: Daeho Jeong \u003cdaehojeong@google.com\u003e\nReviewed-by: Chao Yu \u003cchao@kernel.org\u003e\nSigned-off-by: Jaegeuk Kim \u003cjaegeuk@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "90966467120fb484dd328fcab55084eee326d624",
      "old_mode": 33188,
      "old_path": "man/mkfs.f2fs.8",
      "new_id": "430d1809b49bb049dfd908e6b2a543bac209e4f4",
      "new_mode": 33188,
      "new_path": "man/mkfs.f2fs.8"
    },
    {
      "type": "modify",
      "old_id": "8d44a9b6df0997208f825a888ae89d79cba79991",
      "old_mode": 33188,
      "old_path": "mkfs/f2fs_format_main.c",
      "new_id": "99d92c567de1fe6b1175a62d13f0316cb6981731",
      "new_mode": 33188,
      "new_path": "mkfs/f2fs_format_main.c"
    }
  ]
}
