Show a cover letter.

GET /api/covers/816585/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 816585,
    "url": "http://patchwork.ozlabs.org/api/covers/816585/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/cover/20170920224605.22030-1-ebiggers3@gmail.com/",
    "project": {
        "id": 3,
        "url": "http://patchwork.ozlabs.org/api/projects/3/?format=api",
        "name": "Linux MTD development",
        "link_name": "linux-mtd",
        "list_id": "linux-mtd.lists.infradead.org",
        "list_email": "linux-mtd@lists.infradead.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170920224605.22030-1-ebiggers3@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-20T22:45:40",
    "name": "[00/25] fscrypt: add some higher-level helper functions",
    "submitter": {
        "id": 65202,
        "url": "http://patchwork.ozlabs.org/api/people/65202/?format=api",
        "name": "Eric Biggers",
        "email": "ebiggers3@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/cover/20170920224605.22030-1-ebiggers3@gmail.com/mbox/",
    "series": [
        {
            "id": 4250,
            "url": "http://patchwork.ozlabs.org/api/series/4250/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/list/?series=4250",
            "date": "2017-09-20T22:45:45",
            "name": "fscrypt: add some higher-level helper functions",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/4250/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/816585/comments/",
    "headers": {
        "Return-Path": "<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"dhDdx+D7\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"FphCao+M\"; dkim-atps=neutral"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xyFTp1V3Pz9sBZ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 21 Sep 2017 08:56:14 +1000 (AEST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dunuT-0005tC-1Y; Wed, 20 Sep 2017 22:56:01 +0000",
            "from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dunlt-0004w0-Du\n\tfor linux-mtd@lists.infradead.org; Wed, 20 Sep 2017 22:47:11 +0000",
            "by mail-pf0-x242.google.com with SMTP id i23so1721153pfi.2\n\tfor <linux-mtd@lists.infradead.org>;\n\tWed, 20 Sep 2017 15:46:49 -0700 (PDT)",
            "from ebiggers-linuxstation.kir.corp.google.com ([100.66.174.81])\n\tby smtp.gmail.com with ESMTPSA id j2sm6249pgn.26.2017.09.20.15.46.47\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 20 Sep 2017 15:46:47 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:\n\tSubject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:\n\tReferences:List-Owner; bh=tkWTAFzxxnzqLpvZYnnJ7QFEGIiwzB9ZZ/6xz0weGJ4=;\n\tb=dhD\n\tdx+D7Tl0d5rbZIvmxgx1Hhn53scMqCS3dYWPkniCtoIKzZVSq0rqNHW7B/3E4aK/mk2SNFWD/jVcc\n\tD7ZRjvpxyCeTbnZVn4k9tVCQQQV33EUX+039L5RjHndPsHd0CU5IH4xHuf+yOv/gcrBlOFbkCyiPj\n\t9i2sWwYs4bWs6EplgunlqJ+HchyByzjCfemxzIzKgqm6552owEf+To53K6C3DNbRJzzkigFDMZJdX\n\t3yMpS4bsb4Jeu93+Qr4IPphc+ezcA2puAYX0cahqz6JfQ+CX3aLO2nWLUeR6nuTuM1M2dULhx56Ad\n\tul1jdECJjQT0vTSv2WSyH8LWD6f4PTg==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=gg4dTmWolGvshKkwco5kNIF7wlEnX4tK2+q1ocOfBXQ=;\n\tb=FphCao+M+NY9mm9I4PCbsSzU5bAthzvJ33dxFjXbo7pOgQK/qVw7nNVX6JAh08R1DD\n\tlIsCJHKrVpSKcGzSrKq0wpoBq5qezhwWxm39tn2xTf9gYHevGpEkWBauhbrV1FCc/1P9\n\t4OcGUSXCatGHRMpN1/IDryWSSo8xu5D2s+SO3p10cRo1ORXowY4SiP6xqWzcXipq40ai\n\tKj+AIKgKiJvfqSRJ+mIkRNefMvpgf4mYuneAVWaHH0VsIJyMWEOnlU+JASXkZA0zjGRd\n\tUa/Vof3CTEQX1iSHT6bAEdYGcgp0GebGqgMT+2449gX4NjCjw05BkGvg1vkCYR9f5U1T\n\tpF+A=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=gg4dTmWolGvshKkwco5kNIF7wlEnX4tK2+q1ocOfBXQ=;\n\tb=VDp/9P3IBMWRJ07yQiVTQ5Z4mWVeIU8rNoxFoXUTWCoJUMYPY8VX2X/r0irFK0r6/c\n\tVZI+2PEsmfBaZw0GZDC7I+JbB7M+rCY11ng7kyrb3XPbKiArtO0ayCbypl4YQsGc9QSa\n\tIVH7X0ZZYPB/3STRKxYuDuph26Di/GrTrMUsmEP9xJhWtoClimjGTNdvaG6TqYHopIOu\n\tLWfhH9bodICu4vKPiFF9Y9R+1D0wY75ICb//ohd3b3qlGCwLTMPyICOjpPvhUurOb4tB\n\tlrM9BpdPbJ7izsG948UiRK8zt1zxiSKowK54tX6rddadqQmphU+e2ub1ggNjd7adpe2K\n\tlqEQ==",
        "X-Gm-Message-State": "AHPjjUgeKdFqQrzwCPRL+9K3waw+UlfQ0jvhFL9z2e5NSTNAYcwvSWaE\n\tN+DwW+68wREG3VVo8XkKWoM=",
        "X-Google-Smtp-Source": "AOwi7QA2XPDNZ7ABiHw3lJUdagIHAgyIj9LkUcaKKrLDpgPBInV/CqRZQOMabdvmy+p+58NCWix5Cw==",
        "X-Received": "by 10.84.165.171 with SMTP id y40mr2725445pla.373.1505947608312; \n\tWed, 20 Sep 2017 15:46:48 -0700 (PDT)",
        "From": "Eric Biggers <ebiggers3@gmail.com>",
        "To": "linux-fscrypt@vger.kernel.org",
        "Subject": "[PATCH 00/25] fscrypt: add some higher-level helper functions",
        "Date": "Wed, 20 Sep 2017 15:45:40 -0700",
        "Message-Id": "<20170920224605.22030-1-ebiggers3@gmail.com>",
        "X-Mailer": "git-send-email 2.14.1.821.g8fa685d3b7-goog",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20170920_154709_523967_31900F5B ",
        "X-CRM114-Status": "GOOD (  12.04  )",
        "X-Spam-Score": "-1.8 (-)",
        "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.8 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2607:f8b0:400e:c00:0:0:0:242 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends\n\tin digit (ebiggers3[at]gmail.com)\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (ebiggers3[at]gmail.com)\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain",
        "X-BeenThere": "linux-mtd@lists.infradead.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-mtd/>",
        "List-Post": "<mailto:linux-mtd@lists.infradead.org>",
        "List-Help": "<mailto:linux-mtd-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>",
        "Cc": "\"Theodore Y . Ts'o\" <tytso@mit.edu>, Eric Biggers <ebiggers@google.com>, \n\tMichael Halcrow <mhalcrow@google.com>,\n\tlinux-f2fs-devel@lists.sourceforge.net, \n\tlinux-mtd@lists.infradead.org, linux-fsdevel@vger.kernel.org,\n\tJaegeuk Kim <jaegeuk@kernel.org>, linux-ext4@vger.kernel.org",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>",
        "Errors-To": "linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "From: Eric Biggers <ebiggers@google.com>\n\nThis series reduces code duplication among ext4, f2fs, and ubifs by\nintroducing a S_ENCRYPTED inode flag (so we don't have to call back into\nthe filesystem to test the filesystem-specific inode flag), then\nintroducing new helper functions that are called at the beginning of the\nopen, link, rename, lookup, and setattr operations.\n\nIn the future we maybe should even call these new helpers from the VFS\nso that each individual filesystem doesn't have to do it.  But that's\nnot possible currently because fs/crypto/ can be built as a module.\n\nMaking changes like this is a bit challenging due to interdependencies\nbetween fscrypt and the individual filesystems, all of which have\ndifferent maintainers.  For now my intent is that patches 1-10 be taken\nthrough the fscrypt tree --- though it's not perfect since patches 1-4\ndo make some changes to each filesystem, as everyone must set\nS_ENCRYPTED before we can use it everywhere in the shared code.  But\nafterwards, patches 11-25 can be picked up by the individual filesystems\nto switch to the new helpers.\n\nEric Biggers (25):\n  fs, fscrypt: add an S_ENCRYPTED inode flag\n  fscrypt: switch from ->is_encrypted() to IS_ENCRYPTED()\n  fscrypt: remove ->is_encrypted()\n  fscrypt: remove unneeded empty fscrypt_operations structs\n  fscrypt: new helper function - fscrypt_require_key()\n  fscrypt: new helper function - fscrypt_file_open()\n  fscrypt: new helper function - fscrypt_prepare_link()\n  fscrypt: new helper function - fscrypt_prepare_rename()\n  fscrypt: new helper function - fscrypt_prepare_lookup()\n  fscrypt: new helper function - fscrypt_prepare_setattr()\n  ext4: switch to fscrypt_file_open()\n  ext4: switch to fscrypt_prepare_link()\n  ext4: switch to fscrypt_prepare_rename()\n  ext4: switch to fscrypt_prepare_lookup()\n  ext4: switch to fscrypt_prepare_setattr()\n  f2fs: switch to fscrypt_file_open()\n  f2fs: switch to fscrypt_prepare_link()\n  f2fs: switch to fscrypt_prepare_rename()\n  f2fs: switch to fscrypt_prepare_lookup()\n  f2fs: switch to fscrypt_prepare_setattr()\n  ubifs: switch to fscrypt_file_open()\n  ubifs: switch to fscrypt_prepare_link()\n  ubifs: switch to fscrypt_prepare_rename()\n  ubifs: switch to fscrypt_prepare_lookup()\n  ubifs: switch to fscrypt_prepare_setattr()\n\n fs/crypto/Makefile              |   2 +-\n fs/crypto/crypto.c              |   2 +-\n fs/crypto/fname.c               |   3 +-\n fs/crypto/hooks.c               | 112 +++++++++++++++++++++++++++++\n fs/crypto/keyinfo.c             |   2 +-\n fs/crypto/policy.c              |   6 +-\n fs/ext4/file.c                  |  23 ++----\n fs/ext4/inode.c                 |  19 +++--\n fs/ext4/namei.c                 |  62 +++++-----------\n fs/ext4/super.c                 |  15 ++--\n fs/f2fs/f2fs.h                  |   1 +\n fs/f2fs/file.c                  |  30 ++------\n fs/f2fs/inode.c                 |   5 +-\n fs/f2fs/namei.c                 |  54 ++++----------\n fs/f2fs/super.c                 |   7 +-\n fs/ubifs/crypto.c               |   1 -\n fs/ubifs/dir.c                  |  43 ++++-------\n fs/ubifs/file.c                 |  41 ++---------\n fs/ubifs/ioctl.c                |   5 +-\n fs/ubifs/super.c                |   8 +--\n fs/ubifs/ubifs.h                |   9 +--\n fs/ubifs/xattr.c                |   1 +\n include/linux/fs.h              |   2 +\n include/linux/fscrypt_common.h  |   1 -\n include/linux/fscrypt_notsupp.h |  54 +++++++++++++-\n include/linux/fscrypt_supp.h    | 153 ++++++++++++++++++++++++++++++++++++++++\n 26 files changed, 418 insertions(+), 243 deletions(-)\n create mode 100644 fs/crypto/hooks.c"
}