Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5030564ybi; Tue, 30 Jul 2019 12:27:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzuEKKSAVjRxdJQXp4aGdDeZTBwc96kI1SCp92S7vvj9vzEq/1zvPjJCn1vozOJIcTj9dgp X-Received: by 2002:a17:902:a03:: with SMTP id 3mr115150369plo.302.1564514870294; Tue, 30 Jul 2019 12:27:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564514870; cv=none; d=google.com; s=arc-20160816; b=UYENuIRZMJO2+iff173JWwZuHmbs8BJYJFcsCagDHqb7/wi8Es6spKWTHSIGcA5tuJ YHlR5hP5rBBN7jNBFlRCiRbqw4pn5kKNWEXD6HTX9nCL8Sp/0C8pG2q8qwkpCUklXWMb PW3Tat4dgsSwVfOinYfTBr8yhmDSWQnLInuU8vuxPLt4yaW52YenZQ5YjKR3XWalHWo8 9Ybcwppwd8a/TZsrCH3DaFjvBzrm/a10MGUvjJ0pyxQDkYrz6AwtINN+rhBmFYeletWD JSUcv0niD1RFg3zScA0Ev2A1zoiw+vPfNp1iVIswnoF0+EQr6KgHCQHlkLSUhXCzPhUL oqiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=hJMwmEGvF1zYON2qK4DYysuEs95t0wBIZEo0Kb4maK4=; b=GlCHJQaQ3bckfGT4zSF4Gf6eRW3IzEn5GB/8p9/mnWaeFonoig1goVSkkNXkEhO3PY HR8LqY28Qy+22HJBbpPdQNGokUTpXWZywVZvbi67voWnzPe8DlwHzx+w0XX2thsH1Rc3 quPs7aKdK8dKIxJIV2axCtS0agBUuwROl/3+CvTFCsvxbQ0ZJBl4hByo41SQu2w8ewge LPv9jyWOg27MHWamHK3/rKxF2hEFyJ9b7gKnz/qmG1ohovQa80t9Z0Qi6PadZllOWts4 t8YfIzpRySUkWEVdkLQNYIdq5YX7edwbOHLvHljN4aRN9LUX9LwY9ftrHNTMhDZBq4z+ tXfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s7si28031704plr.95.2019.07.30.12.27.35; Tue, 30 Jul 2019 12:27:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728943AbfG3T0w (ORCPT + 99 others); Tue, 30 Jul 2019 15:26:52 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:59565 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725840AbfG3T0w (ORCPT ); Tue, 30 Jul 2019 15:26:52 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1MHGPA-1i5lAg3ZiK-00DIZr; Tue, 30 Jul 2019 21:26:50 +0200 From: Arnd Bergmann To: Alexander Viro Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann Subject: [PATCH v5 02/29] FIGETBSZ: fix compat Date: Tue, 30 Jul 2019 21:25:13 +0200 Message-Id: <20190730192552.4014288-3-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190730192552.4014288-1-arnd@arndb.de> References: <20190730192552.4014288-1-arnd@arndb.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Prov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DIqA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Al Viro it takes a pointer argument, regular file or no regular file Signed-off-by: Al Viro Signed-off-by: Arnd Bergmann --- fs/compat_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 31104486fc8b..b19edbc57146 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -1039,10 +1039,10 @@ COMPAT_SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd, case FICLONERANGE: case FIDEDUPERANGE: case FS_IOC_FIEMAP: + case FIGETBSZ: goto found_handler; case FIBMAP: - case FIGETBSZ: case FIONREAD: if (S_ISREG(file_inode(f.file)->i_mode)) break; -- 2.20.0