)]}'
{
  "commit": "5132861a7a44498ebb18357473f8b8d4cdc70e9f",
  "tree": "7a1efb101645878623a73f380113fd29f43aeae4",
  "parents": [
    "b7206153f61bb63ee2cffa63905b57ec01d20e6e"
  ],
  "author": {
    "name": "Jeff Layton",
    "email": "jlayton@redhat.com",
    "time": "Thu May 22 09:33:34 2008 -0400"
  },
  "committer": {
    "name": "Steve French",
    "email": "sfrench@us.ibm.com",
    "time": "Sun May 25 00:33:58 2008 +0000"
  },
  "message": "disable most mode changes on non-unix/non-cifsacl mounts\n\nCIFS currently allows you to change the mode of an inode on a share that\ndoesn\u0027t have unix extensions enabled, and isn\u0027t using cifsacl. The inode\nin this case *only* has its mode changed in memory on the client. This\nis problematic since it can change any time the inode is purged from the\ncache.\n\nThis patch makes cifs_setattr silently ignore most mode changes when\nunix extensions and cifsacl support are not enabled, and when the share\nis not mounted with the \"dynperm\" option. The exceptions are:\n\nWhen a mode change would remove all write access to an inode we turn on\nthe ATTR_READONLY bit on the server and remove all write bits from the\ninode\u0027s mode in memory.\n\nWhen a mode change would add a write bit to an inode that previously had\nthem all turned off, it turns off the ATTR_READONLY bit on the server,\nand resets the mode back to what it would normally be (generally, the\nfile_mode or dir_mode of the share).\n\nSigned-off-by: Jeff Layton \u003cjlayton@redhat.com\u003e\nSigned-off-by: Steve French \u003csfrench@us.ibm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fe752fdb26c33396e9e462156a3ce3c0ade2ce9f",
      "old_mode": 33188,
      "old_path": "fs/cifs/inode.c",
      "new_id": "722be543ceec1ec9f4f086d149247b12d6ac3b7a",
      "new_mode": 33188,
      "new_path": "fs/cifs/inode.c"
    }
  ]
}
