)]}'
{
  "commit": "67638e4043083cdc6f10386a75fef87ba46eecb3",
  "tree": "4bf3c4ba8e5c316f7dcf98083b1a851ce248a2ee",
  "parents": [
    "ed680c4ad478d0fee9740f7d029087f181346564"
  ],
  "author": {
    "name": "OGAWA Hirofumi",
    "email": "hirofumi@mail.parknet.co.jp",
    "time": "Sat Aug 01 21:30:31 2009 +0900"
  },
  "committer": {
    "name": "OGAWA Hirofumi",
    "email": "hirofumi@mail.parknet.co.jp",
    "time": "Sat Aug 01 21:35:21 2009 +0900"
  },
  "message": "fat/nls: Fix handling of utf8 invalid char\n\nWith utf8 option, vfat allowed the duplicated filenames.\n\nNormal nls returns -EINVAL for invalid char. But utf8s_to_utf16s()\nskipped the invalid char historically.\n\nSo, this changes the utf8s_to_utf16s() directly to return -EINVAL for\ninvalid char, because vfat is only user of it.\n\nmkdir /mnt/fatfs\nFILENAME\u003d`echo -ne \"invalidutf8char_\\\\0341_endofchar\"`\necho \"Using filename: $FILENAME\"\ndd if\u003d/dev/zero of\u003dfatfs bs\u003d512 count\u003d128\nmkdosfs -F 32 fatfs\nmount -o loop,utf8 fatfs /mnt/fatfs\ntouch \"/mnt/fatfs/$FILENAME\"\numount /mnt/fatfs\nmount -o loop,utf8 fatfs /mnt/fatfs\ntouch \"/mnt/fatfs/$FILENAME\"\nls -l /mnt/fatfs\numount /mnt/fatfs\n\n----  And the output is:\n\nUsing filename: invalidutf8char_\\0341_endofchar\n128+0 records in\n128+0 records out\n65536 bytes (66 kB) copied, 0.000388118 s, 169 MB/s\nmkdosfs 2.11 (12 Mar 2005)\ntotal 0\n-rwxr-xr-x 1 root root 0 Jun 28 19:46 invalidutf8char__endofchar\n-rwxr-xr-x 1 root root 0 Jun 28 19:46 invalidutf8char__endofchar\n\nTested-by: Marton Balint \u003ccus@fazekas.hu\u003e\nSigned-off-by: OGAWA Hirofumi \u003chirofumi@mail.parknet.co.jp\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cb6e83557112d74e03cf00f37d6b3bddfa66cd83",
      "old_mode": 33188,
      "old_path": "fs/fat/namei_vfat.c",
      "new_id": "f565f24019b585c0d52d6934f4e3c32f22b6f420",
      "new_mode": 33188,
      "new_path": "fs/fat/namei_vfat.c"
    },
    {
      "type": "modify",
      "old_id": "477d37d83b316367e1ac04fb31ba98e375a37b1a",
      "old_mode": 33188,
      "old_path": "fs/nls/nls_base.c",
      "new_id": "b25c218671b3d9a2062321c0651904f7f23c88e4",
      "new_mode": 33188,
      "new_path": "fs/nls/nls_base.c"
    }
  ]
}
