)]}'
{
  "commit": "ecf3d1f1aa74da0d632b651a2e05a911f60e92c0",
  "tree": "62a2e0a46bfd993a24a1154ec1331c57bbd50482",
  "parents": [
    "4f4a4faddea0fe45bf508e723c3a810c5190ed62"
  ],
  "author": {
    "name": "Jeff Layton",
    "email": "jlayton@redhat.com",
    "time": "Wed Feb 20 11:19:05 2013 -0500"
  },
  "committer": {
    "name": "Al Viro",
    "email": "viro@zeniv.linux.org.uk",
    "time": "Tue Feb 26 02:46:09 2013 -0500"
  },
  "message": "vfs: kill FS_REVAL_DOT by adding a d_weak_revalidate dentry op\n\nThe following set of operations on a NFS client and server will cause\n\n    server# mkdir a\n    client# cd a\n    server# mv a a.bak\n    client# sleep 30  # (or whatever the dir attrcache timeout is)\n    client# stat .\n    stat: cannot stat `.\u0027: Stale NFS file handle\n\nObviously, we should not be getting an ESTALE error back there since the\ninode still exists on the server. The problem is that the lookup code\nwill call d_revalidate on the dentry that \".\" refers to, because NFS has\nFS_REVAL_DOT set.\n\nnfs_lookup_revalidate will see that the parent directory has changed and\nwill try to reverify the dentry by redoing a LOOKUP. That of course\nfails, so the lookup code returns ESTALE.\n\nThe problem here is that d_revalidate is really a bad fit for this case.\nWhat we really want to know at this point is whether the inode is still\ngood or not, but we don\u0027t really care what name it goes by or whether\nthe dcache is still valid.\n\nAdd a new d_op-\u003ed_weak_revalidate operation and have complete_walk call\nthat instead of d_revalidate. The intent there is to allow for a\n\"weaker\" d_revalidate that just checks to see whether the inode is still\ngood. This is also gives us an opportunity to kill off the FS_REVAL_DOT\nspecial casing.\n\n[AV: changed method name, added note in porting, fixed confusion re\nhaving it possibly called from RCU mode (it won\u0027t be)]\n\nCc: NeilBrown \u003cneilb@suse.de\u003e\nSigned-off-by: Jeff Layton \u003cjlayton@redhat.com\u003e\nSigned-off-by: Al Viro \u003cviro@zeniv.linux.org.uk\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f48e0c6b4c4295deeda9358cfe8f706b8feea2c0",
      "old_mode": 33188,
      "old_path": "Documentation/filesystems/Locking",
      "new_id": "0706d32a61e6fc0fafbbe9a975d095d5e37e95f7",
      "new_mode": 33188,
      "new_path": "Documentation/filesystems/Locking"
    },
    {
      "type": "modify",
      "old_id": "0472c31c163b4de67d73a52d8aa1953597df8ca1",
      "old_mode": 33188,
      "old_path": "Documentation/filesystems/porting",
      "new_id": "4db22f6491e026fee3ea01da970404c601a60684",
      "new_mode": 33188,
      "new_path": "Documentation/filesystems/porting"
    },
    {
      "type": "modify",
      "old_id": "e3869098163e1bdb347236e0dcede6bb2b8d80ca",
      "old_mode": 33188,
      "old_path": "Documentation/filesystems/vfs.txt",
      "new_id": "bc4b06b3160a3a6842d6ac104eb1d9ec7de067ac",
      "new_mode": 33188,
      "new_path": "Documentation/filesystems/vfs.txt"
    },
    {
      "type": "modify",
      "old_id": "64600b5d0522c203ac6e8a4043462fe6e513d4aa",
      "old_mode": 33188,
      "old_path": "fs/9p/vfs_dentry.c",
      "new_id": "9ad68628522c36b9b1a3dadc25db4d5b977ae5a3",
      "new_mode": 33188,
      "new_path": "fs/9p/vfs_dentry.c"
    },
    {
      "type": "modify",
      "old_id": "137d50396898e490937349998282a86ab0ed4f4d",
      "old_mode": 33188,
      "old_path": "fs/9p/vfs_super.c",
      "new_id": "91dad63e5a2db0cddc1bb9c43ad0bca0694ec9c9",
      "new_mode": 33188,
      "new_path": "fs/9p/vfs_super.c"
    },
    {
      "type": "modify",
      "old_id": "ebab049826c0029349700eeac251f57cfbbba10f",
      "old_mode": 33188,
      "old_path": "fs/dcache.c",
      "new_id": "68220dd0c135f0702ef3eb3b40012f3aa930b057",
      "new_mode": 33188,
      "new_path": "fs/dcache.c"
    },
    {
      "type": "modify",
      "old_id": "052c095c2808da190cbe143a6ecfeba45f376799",
      "old_mode": 33188,
      "old_path": "fs/namei.c",
      "new_id": "dc984fee553239babe77672918be83f80aa325a6",
      "new_mode": 33188,
      "new_path": "fs/namei.c"
    },
    {
      "type": "modify",
      "old_id": "a8bd28cde7e2e2a3a24e6ebe5c99f7b7b65bc993",
      "old_mode": 33188,
      "old_path": "fs/nfs/dir.c",
      "new_id": "f23f455be42b8e97141bbe9beabdfa09fcff3932",
      "new_mode": 33188,
      "new_path": "fs/nfs/dir.c"
    },
    {
      "type": "modify",
      "old_id": "84d2e9e2f313b7d9e64a260f79a66ce83b377f92",
      "old_mode": 33188,
      "old_path": "fs/nfs/nfs4super.c",
      "new_id": "569b166cc050143c8d2cfa7ec506b479e8517240",
      "new_mode": 33188,
      "new_path": "fs/nfs/nfs4super.c"
    },
    {
      "type": "modify",
      "old_id": "2e7e8c878e5d157418e91a3ce742b8810168c5d3",
      "old_mode": 33188,
      "old_path": "fs/nfs/super.c",
      "new_id": "92acc26f9c5f663338db04e13ffe804696bc0834",
      "new_mode": 33188,
      "new_path": "fs/nfs/super.c"
    },
    {
      "type": "modify",
      "old_id": "03d1692884238ddda322c8adc911c2971a7af94d",
      "old_mode": 33188,
      "old_path": "include/linux/dcache.h",
      "new_id": "1a6bb81f0fe5a13d93c799cfbcd4062d0e288c28",
      "new_mode": 33188,
      "new_path": "include/linux/dcache.h"
    },
    {
      "type": "modify",
      "old_id": "7f471520b88bb5f3bb6affdb07b422a428a0267b",
      "old_mode": 33188,
      "old_path": "include/linux/fs.h",
      "new_id": "da94011ae83c60c1147a7573f39f2aa31f819b08",
      "new_mode": 33188,
      "new_path": "include/linux/fs.h"
    }
  ]
}
