)]}'
{
  "commit": "b657c95c11088d77fc1bfc9c84d940f778bf9d12",
  "tree": "7e52e73aabbdbc55f644ad26735edc25a652ac32",
  "parents": [
    "a68979b857283daf4acc405e476dcc8812a3ff2b"
  ],
  "author": {
    "name": "Joel Becker",
    "email": "joel.becker@oracle.com",
    "time": "Thu Nov 13 14:49:11 2008 -0800"
  },
  "committer": {
    "name": "Mark Fasheh",
    "email": "mfasheh@suse.com",
    "time": "Mon Jan 05 08:36:52 2009 -0800"
  },
  "message": "ocfs2: Wrap inode block reads in a dedicated function.\n\nThe ocfs2 code currently reads inodes off disk with a simple\nocfs2_read_block() call.  Each place that does this has a different set\nof sanity checks it performs.  Some check only the signature.  A couple\nvalidate the block number (the block read vs di-\u003ei_blkno).  A couple\nothers check for VALID_FL.  Only one place validates i_fs_generation.  A\ncouple check nothing.  Even when an error is found, they don\u0027t all do\nthe same thing.\n\nWe wrap inode reading into ocfs2_read_inode_block().  This will validate\nall the above fields, going readonly if they are invalid (they never\nshould be).  ocfs2_read_inode_block_full() is provided for the places\nthat want to pass read_block flags.  Every caller is passing a struct\ninode with a valid ip_blkno, so we don\u0027t need a separate blkno argument\neither.\n\nWe will remove the validation checks from the rest of the code in a\nlater commit, as they are no longer necessary.\n\nSigned-off-by: Joel Becker \u003cjoel.becker@oracle.com\u003e\nSigned-off-by: Mark Fasheh \u003cmfasheh@suse.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5592a2f6335b8b6b89ce4b8392a9668ac0d62ec0",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/alloc.c",
      "new_id": "9c598adc94758df525872c77998ee4f37f45572f",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/alloc.c"
    },
    {
      "type": "modify",
      "old_id": "c22543b3342062f0308ec06a6f74f2334291727f",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/aops.c",
      "new_id": "e219f8b546ac4dff78e3727297e41e4323cf33b6",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/aops.c"
    },
    {
      "type": "modify",
      "old_id": "026e6eb85187844b60ba55eb9893651090ac1c4f",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/dir.c",
      "new_id": "5777045f1a67749b5a10d94c8806e4e6d9b926a3",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/dir.c"
    },
    {
      "type": "modify",
      "old_id": "6e6cc0a2e5f7a51ed9c5e3b72e4ae90471ea77a7",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/dlmglue.c",
      "new_id": "9f2a7f75d1b30c34e152f405448f75d909fa1a97",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/dlmglue.c"
    },
    {
      "type": "modify",
      "old_id": "2baedac582341dbb60986840b29daded17521842",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/extent_map.c",
      "new_id": "b686b31cf49c77e946a6cbfb55a5fb06776d75da",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/extent_map.c"
    },
    {
      "type": "modify",
      "old_id": "4636aa6b01177fd75895cd89547235daa1695ed3",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/file.c",
      "new_id": "41001d515faef3c956696980d1315921851f83dd",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/file.c"
    },
    {
      "type": "modify",
      "old_id": "7aa00d5118748f392251acf5b76605350eefcd98",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/inode.c",
      "new_id": "9eb701b86466952b0314f1702cb0af39a547d384",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/inode.c"
    },
    {
      "type": "modify",
      "old_id": "2f37af9bcc4aa262197ca0f3108941c4d7d551fb",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/inode.h",
      "new_id": "b79c371a9d2783a6737dc37984e13b868c8abf8a",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/inode.h"
    },
    {
      "type": "modify",
      "old_id": "99fe9d584f3c25843ab1caefcce175f2ccdbb60c",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/journal.c",
      "new_id": "877aaa05e199f424d550852e1d0eeb8473770d49",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/journal.c"
    },
    {
      "type": "modify",
      "old_id": "687b28713c3253631b3588ceb41d90ca51cfa867",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/localalloc.c",
      "new_id": "19cfb1b9ce09c9b2dff0d8c96d5871aeadd9ae72",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/localalloc.c"
    },
    {
      "type": "modify",
      "old_id": "765514512096af377c3b36fce711d1acdb97e483",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/namei.c",
      "new_id": "0134bafdab9e416ee708841b96ef17e972367521",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/namei.c"
    },
    {
      "type": "modify",
      "old_id": "cbd03dfdc7b987aaef8810adfbce4590e6fdacc8",
      "old_mode": 33188,
      "old_path": "fs/ocfs2/symlink.c",
      "new_id": "ed0a0cfd68d26b369be863d8ff70630bd8a1c5f1",
      "new_mode": 33188,
      "new_path": "fs/ocfs2/symlink.c"
    }
  ]
}
