)]}'
{
  "commit": "f9c3a3802119a2d30f3e4a69aef30a81e09d0209",
  "tree": "e777be38afbbec60e3c366169395b9fca7226540",
  "parents": [
    "e0007529893c1c064be90bd21422ca0da4a0198e"
  ],
  "author": {
    "name": "Eric Paris",
    "email": "eparis@redhat.com",
    "time": "Wed Mar 05 14:20:18 2008 -0500"
  },
  "committer": {
    "name": "James Morris",
    "email": "jmorris@namei.org",
    "time": "Thu Mar 06 08:40:59 2008 +1100"
  },
  "message": "NFS: use new LSM interfaces to explicitly set mount options\n\nNFS and SELinux worked together previously because SELinux had NFS\nspecific knowledge built in.  This design was approved by both groups\nback in 2004 but the recent NFS changes to use nfs_parsed_mount_data and\nthe usage of nfs_clone_mount_data showed this to be a poor fragile\nsolution.  This patch fixes the NFS functionality regression by making\nuse of the new LSM interfaces to allow an FS to explicitly set its own\nmount options.\n\nThe explicit setting of mount options is done in the nfs get_sb\nfunctions which are called before the generic vfs hooks try to set mount\noptions for filesystems which use text mount data.\n\nThis does not currently support NFSv4 as that functionality did not\nexist in previous kernels and thus there is no regression.  I will be\nadding the needed code, which I believe to be the exact same as the v3\ncode, in nfs4_get_sb for 2.6.26.\n\nSigned-off-by: Eric Paris \u003ceparis@redhat.com\u003e\nAcked-by: Trond Myklebust \u003cTrond.Myklebust@netapp.com\u003e\nSigned-off-by: James Morris \u003cjmorris@namei.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0f5619611b8dc5d313accd81658fd6dd32e6a647",
      "old_mode": 33188,
      "old_path": "fs/nfs/internal.h",
      "new_id": "931992763e68c2e68f7e1f3501de25a8340dc50b",
      "new_mode": 33188,
      "new_path": "fs/nfs/internal.h"
    },
    {
      "type": "modify",
      "old_id": "1fb3818436501bc7bfd7637d7744576fe09e6041",
      "old_mode": 33188,
      "old_path": "fs/nfs/super.c",
      "new_id": "fcf4b982c88580bca2d841d13c8e00e75f281627",
      "new_mode": 33188,
      "new_path": "fs/nfs/super.c"
    }
  ]
}
