)]}'
{
  "commit": "88149082bb8ef31b289673669e080ec6a00c2e59",
  "tree": "27b73fca304245cc58b3baff803a68b21c6afa27",
  "parents": [
    "edf7ddbf1c5eb98b720b063b73e20e8a4a1ce673"
  ],
  "author": {
    "name": "Hao Li",
    "email": "lihao2018.fnst@cn.fujitsu.com",
    "time": "Tue Dec 08 10:08:43 2020 +0800"
  },
  "committer": {
    "name": "Al Viro",
    "email": "viro@zeniv.linux.org.uk",
    "time": "Thu Dec 10 17:33:17 2020 -0500"
  },
  "message": "fs: Handle I_DONTCACHE in iput_final() instead of generic_drop_inode()\n\nIf generic_drop_inode() returns true, it means iput_final() can evict\nthis inode regardless of whether it is dirty or not. If we check\nI_DONTCACHE in generic_drop_inode(), any inode with this bit set will be\nevicted unconditionally. This is not the desired behavior because\nI_DONTCACHE only means the inode shouldn\u0027t be cached on the LRU list.\nAs for whether we need to evict this inode, this is what\ngeneric_drop_inode() should do. This patch corrects the usage of\nI_DONTCACHE.\n\nThis patch was proposed in [1].\n\n[1]: https://lore.kernel.org/linux-fsdevel/20200831003407.GE12096@dread.disaster.area/\n\nFixes: dae2f8ed7992 (\"fs: Lift XFS_IDONTCACHE to the VFS layer\")\nSigned-off-by: Hao Li \u003clihao2018.fnst@cn.fujitsu.com\u003e\nReviewed-by: Dave Chinner \u003cdchinner@redhat.com\u003e\nReviewed-by: Ira Weiny \u003cira.weiny@intel.com\u003e\nSigned-off-by: Al Viro \u003cviro@zeniv.linux.org.uk\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9d78c37b00b817d0f4061441806e4d0aa5400f4b",
      "old_mode": 33188,
      "old_path": "fs/inode.c",
      "new_id": "5eea9912a0b9d89362d0f662898d1c0e8b7aa263",
      "new_mode": 33188,
      "new_path": "fs/inode.c"
    },
    {
      "type": "modify",
      "old_id": "8667d0cdc71e76635da29edf92bb66918ed864f2",
      "old_mode": 33188,
      "old_path": "include/linux/fs.h",
      "new_id": "8bde32cf97115979397838ba2b528a632dddd01f",
      "new_mode": 33188,
      "new_path": "include/linux/fs.h"
    }
  ]
}
