)]}'
{
  "commit": "07f1a4f5e89cd4e6c79d67d41e8a18c451214ae2",
  "tree": "a4efa89cd8536b6ff6b75713fd5cc342f4da4f62",
  "parents": [
    "fdc07f44c891d3fdee7722a03e3881614a293b3c"
  ],
  "author": {
    "name": "Dave Chinner",
    "email": "dchinner@redhat.com",
    "time": "Fri May 21 05:47:59 2010 +0000"
  },
  "committer": {
    "name": "Alex Elder",
    "email": "aelder@sgi.com",
    "time": "Fri May 28 15:19:12 2010 -0500"
  },
  "message": "xfs: Check new inode size is OK before preallocating\n\nThe new xfsqa test 228 tries to preallocate more space than the\nfilesystem contains. it should fail, but instead triggers an assert\nabout lock flags.  The failure is due to the size extension failing\nin vmtruncate() due to rlimit being set. Check this before we start\nthe preallocation to avoid allocating space that will never be used.\n\nAlso the path through xfs_vn_allocate already holds the IO lock, so\nit should not be present in the lock flags when the setattr fails.\nHence the assert needs to take this into account. This will prevent\nother such callers from hitting this incorrect ASSERT.\n\n(Fixed a reference to \"newsize\" to read \"new_size\". -Alex)\n\nSigned-off-by: Dave Chinner \u003cdchinner@redhat.com\u003e\nReviewed-by: Christoph Hellwig \u003chch@lst.de\u003e\nSigned-off-by: Alex Elder \u003caelder@sgi.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9c8019c78c9221ce80617a61db98bfe3a5b0e135",
      "old_mode": 33188,
      "old_path": "fs/xfs/linux-2.6/xfs_iops.c",
      "new_id": "44f0b2de153eb6c4cf77b36c54278f36166d59ba",
      "new_mode": 33188,
      "new_path": "fs/xfs/linux-2.6/xfs_iops.c"
    },
    {
      "type": "modify",
      "old_id": "9d376be0ea389ee5b1cacd2f266fe3f44f2a7c2e",
      "old_mode": 33188,
      "old_path": "fs/xfs/xfs_vnodeops.c",
      "new_id": "a06bd62504fc7e1388abcf8aeac0000996c92a64",
      "new_mode": 33188,
      "new_path": "fs/xfs/xfs_vnodeops.c"
    }
  ]
}
