Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2579455yba; Fri, 10 May 2019 14:20:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqyiB21f+bCt9cTs2drehVz1FfLSGVL/qt43tvi0xA+vBSipqKhqd43HHPRK1Dk1M9S+oDup X-Received: by 2002:a62:200f:: with SMTP id g15mr17115619pfg.7.1557523249064; Fri, 10 May 2019 14:20:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557523249; cv=none; d=google.com; s=arc-20160816; b=GWp6/AGiwq+muKc/e7Aj4XTFv604FUXJMDouGMW3gM2xroiT3N0OZXp9hukGFIZdUU xmovyM5oSg66cBvcUHLUk8Y5GkXWtD4Wl1ReIkZf6Vw4bnYDRoo3W3tuuN+Y0H7TFysA 7bgKO3BzTQl4g70rUDq7ib8GvDgTKSbfRpj7VWWqk/jtoVfUkpoL89QUZYCizw1YSGH/ V0r6Hp/F9H44hyRFHsTegE2Eflhh/d0au51SJylkleSFIEoFQ7C+gS9PGLe/pW7ipDXZ 8lpkTBX6wWtkCa1mp7qNidL4L4hPRp3tEKy9Ul/XpR7lLGlzYPWkx2GXz+hE6CWkIWXC rivg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:to:from :dkim-signature; bh=7WQagt9yn1LV1Bkp6dg4BeOEdd2dwmIHjDIkJReEVC0=; b=Gk+ksmUS/hABnrl0H/PMwy+LDuBMecbCXYIHSQIAgCdY8Cy+F6oz9tFWD80RMTIx3Y 6btLLyyo/z8DfM8P9J28Ydr4Hm4s0Al/E9bZctcr5FFY7qhGEu9nbDGKtrgXQFJNZOSE lWSnhtRisoFTW3Q2PR8N/A9WgNR3S1rMF+nedwVc+8MV+ysqqR+8zbJmCAQTvebdahHO NtW+2GJgDzljip6by7fvIKCdpvnPhjlYJXmjyGFb+FW6lv59b+QbQc0LOm5rYg60dJra xgbi1W7RiJHpXpNWwG7VNaMuPT3Vr9XBIeWjFX9kF4M2EL43qStEr/ZE7cemb8w5OENp 1CBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector1 header.b=kpaDHttK; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o11si8091796plk.413.2019.05.10.14.20.25; Fri, 10 May 2019 14:20:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector1 header.b=kpaDHttK; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727677AbfEJVUX (ORCPT + 99 others); Fri, 10 May 2019 17:20:23 -0400 Received: from mail-eopbgr780125.outbound.protection.outlook.com ([40.107.78.125]:29536 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727767AbfEJVUX (ORCPT ); Fri, 10 May 2019 17:20:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7WQagt9yn1LV1Bkp6dg4BeOEdd2dwmIHjDIkJReEVC0=; b=kpaDHttKJh9fQUZYkSzH5UB0SVbIAVeB6nnMU32S2cSmcMv66nT2Fc4KO2nw1f2yPebfcuPyKethipgeo35WN0jWI0iykcmheRhin25+50sa9BgB/KNXCxR4PM+2vTEF3wNeED09zS5UnGNm2bWh2Trsvq2YJ4WAR9VWf+wTzvI= Received: from CY4PR13MB1847.namprd13.prod.outlook.com (10.171.165.14) by CY4PR13MB1031.namprd13.prod.outlook.com (10.168.164.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.7; Fri, 10 May 2019 21:20:17 +0000 Received: from CY4PR13MB1847.namprd13.prod.outlook.com ([fe80::68a2:b795:b08e:447f]) by CY4PR13MB1847.namprd13.prod.outlook.com ([fe80::68a2:b795:b08e:447f%5]) with mapi id 15.20.1878.019; Fri, 10 May 2019 21:20:17 +0000 From: Trond Myklebust To: "linux-nfs@vger.kernel.org" , "bcodding@redhat.com" Subject: Re: __fput and with silly delegation current_umask() Thread-Topic: __fput and with silly delegation current_umask() Thread-Index: AQHVB3CLcMX63JHKLEGmKsjwgYG256Zk3W6A Date: Fri, 10 May 2019 21:20:17 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=trondmy@hammerspace.com; x-originating-ip: [50.36.167.38] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 22e3af6f-efd5-423f-b87b-08d6d58d4ce0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020);SRVR:CY4PR13MB1031; x-ms-traffictypediagnostic: CY4PR13MB1031: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0033AAD26D x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(136003)(39830400003)(376002)(396003)(346002)(366004)(199004)(189003)(14454004)(8676002)(66066001)(5660300002)(14444005)(256004)(476003)(110136005)(36756003)(76176011)(71200400001)(6506007)(102836004)(305945005)(99286004)(71190400001)(2906002)(26005)(6246003)(186003)(53936002)(68736007)(446003)(6512007)(11346002)(2616005)(486006)(8936002)(3846002)(6116002)(118296001)(7736002)(2501003)(66556008)(64756008)(66446008)(66476007)(478600001)(316002)(229853002)(25786009)(6436002)(6486002)(91956017)(73956011)(66946007)(76116006)(81166006)(86362001)(81156014);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR13MB1031;H:CY4PR13MB1847.namprd13.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: hammerspace.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: S4xg+T5fujGL1mf2t41+333O/soiPeVmkM/wYu+IKbUNKgvJxp3Yn6QwXBkZm/gaD6LoZ+UdBRvuKJ78UmLTVyL+IrT0iFYmszvq6GdG//KVeNJGcugabehd000X34Nt3Wck5PVOkpSoBSZ1VLFTcAGT+8e8G0DFnYc1zpBGRkwxnt0yJ4XL8S5DN7XGEwJhMyqNoht2UVNUtvGSu+ioqE030gmAiGggatues6phUnarCO5cFw14gsgQCg24c8j8OyqiSuBPJ4IZYQUYV2wTPaxPwi/4P44/y48UyZKBawOCcTUsi7AXLpHqr83z9bFS1f54+f+i4XvVp+shdWRVQiJPe5+dsZeDGE4qti6iYuhJCjGW5CX0cT6l/DJ43cInOIlIp12+d+7FfkZpBy3MHKD1uPwun8ZtQzlLD0XJfvg= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-Network-Message-Id: 22e3af6f-efd5-423f-b87b-08d6d58d4ce0 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 May 2019 21:20:17.3612 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR13MB1031 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org SGkgQmVuLA0KDQpPbiBGcmksIDIwMTktMDUtMTAgYXQgMTY6MzkgLTA0MDAsIEJlbmphbWluIENv ZGRpbmd0b24gd3JvdGU6DQo+IEEgc2hpbmV5IG5ldyB2ZXJzaW9uIGlzIG91dCwgYW5kIEkganVz dCBoYWQgYSByZXBvcnQgb2YgYSBjcmFzaDoNCj4gDQo+IFsgMjg1My45MTYxMjFdIEJVRzogdW5h YmxlIHRvIGhhbmRsZSBrZXJuZWwgTlVMTCBwb2ludGVyIGRlcmVmZXJlbmNlDQo+IGF0IA0KPiAw MDAwMDAwMDAwMDAwMDBjDQo+IFsgMjg1My45MTc2MjVdIFBHRCAwIFA0RCAwDQo+IFsgMjg1My45 MTgxMDZdIE9vcHM6IDAwMDAgWyMxXSBTTVAgUFRJDQo+IFsgMjg1My45MTg3NjFdIENQVTogMCBQ SUQ6IDI1NzExIENvbW06IGZpbGVfZXhlYy5zaCBLZHVtcDogbG9hZGVkDQo+IE5vdCANCj4gdGFp bnRlZCA0LjE4LjAtODMuZWw4Lng4Nl82NCAjMQ0KPiBbIDI4NTMuOTIwNDA2XSBIYXJkd2FyZSBu YW1lOiBSZWQgSGF0IEtWTSwgQklPUyAwLjUuMSAwMS8wMS8yMDExDQo+IFsgMjg1My45MjE0Njld IFJJUDogMDAxMDpjdXJyZW50X3VtYXNrKzB4MTUvMHgyMA0KPiBbIDI4NTMuOTIyMjc0XSBDb2Rl OiA3NiA0OCBlOSAzZSA1NCBmZSBmZiA5MCA5MCA5MCA5MCA5MCA5MCA5MCA5MCA5MA0KPiA5MCAN Cj4gOTAgOTAgOTAgOTAgMGYgMW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