)]}'
{
  "commit": "0df5dd4aae211edeeeb84f7f84f6d093406d7c22",
  "tree": "6e58bc436b873cf582f20cf0dbd21461c0a56837",
  "parents": [
    "2c61be0a9478258f77b66208a0c4b1f5f8161c3c"
  ],
  "author": {
    "name": "Trond Myklebust",
    "email": "Trond.Myklebust@netapp.com",
    "time": "Sun Apr 11 16:48:44 2010 -0400"
  },
  "committer": {
    "name": "Trond Myklebust",
    "email": "Trond.Myklebust@netapp.com",
    "time": "Mon Apr 12 07:55:15 2010 -0400"
  },
  "message": "NFSv4: fix delegated locking\n\nArnaud Giersch reports that NFSv4 locking is broken when we hold a\ndelegation since commit 8e469ebd6dc32cbaf620e134d79f740bf0ebab79 (NFSv4:\nDon\u0027t allow posix locking against servers that don\u0027t support it).\n\nAccording to Arnaud, the lock succeeds the first time he opens the file\n(since we cannot do a delegated open) but then fails after we start using\ndelegated opens.\n\nThe following patch fixes it by ensuring that locking behaviour is\ngoverned by a per-filesystem capability flag that is initially set, but\ngets cleared if the server ever returns an OPEN without the\nNFS4_OPEN_RESULT_LOCKTYPE_POSIX flag being set.\n\nReported-by: Arnaud Giersch \u003carnaud.giersch@iut-bm.univ-fcomte.fr\u003e\nSigned-off-by: Trond Myklebust \u003cTrond.Myklebust@netapp.com\u003e\nCc: stable@kernel.org\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2a3d352c0bffdba569e76cc50318a3d619ef3877",
      "old_mode": 33188,
      "old_path": "fs/nfs/client.c",
      "new_id": "a8766c4ef2e09f143b52a69d464b320ad1b5d76d",
      "new_mode": 33188,
      "new_path": "fs/nfs/client.c"
    },
    {
      "type": "modify",
      "old_id": "fe0cd9eb1d4db1680f74ca530118b34ff8b24afd",
      "old_mode": 33188,
      "old_path": "fs/nfs/nfs4proc.c",
      "new_id": "638067007c65e8010c68f84710d6cc0a1e782158",
      "new_mode": 33188,
      "new_path": "fs/nfs/nfs4proc.c"
    },
    {
      "type": "modify",
      "old_id": "717a5e54eb1dcf68cdda886b71601e003fec105a",
      "old_mode": 33188,
      "old_path": "include/linux/nfs_fs_sb.h",
      "new_id": "e82957acea561bfb9e4a73f33bbd7faf888cf671",
      "new_mode": 33188,
      "new_path": "include/linux/nfs_fs_sb.h"
    }
  ]
}
