Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp662151ybl; Wed, 28 Aug 2019 03:32:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+HI929pXNquAmdLpr181ERmV9XG6fCE2ubSvEp5TNzEEBWXudHd3UnItvTBqxc+hsKYgN X-Received: by 2002:a63:2157:: with SMTP id s23mr2909437pgm.167.1566988355365; Wed, 28 Aug 2019 03:32:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566988355; cv=none; d=google.com; s=arc-20160816; b=niw2Ytoioard8qTNxqg7O/BxYlMPer35YeYbIBk3K2IFd8c9craLpB8d/WsQxJL1om 6AeBsXZRum3iWy+WeP667SiyLSZcxjjmEWfDjpxTxsiJGEXNASLHuUOd8a512TKH0RUS gbRRfChf9Vzkx7xeeFIPJtY47F832jDmvtYE/I/8+Pm0ScWeChXHdioouyNjg+3/cm8n J2C5RIvXdhAi4EotGXY3mlBnz/Ao1RvmHvadYigKMO3Bu4CGPfEDZgc+s8SZ1aq51GT6 VRFgBXJUTW1FrhY4mTjQSUMiPMZmCgtoDbmyhKvUwlMHeqtuGEWxQGtAIAixtysf6F89 GsqQ== 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=Irum+UPBVKAFlS2QFgpLP0R7hL6lqueQ8B9lFGOQ65s=; b=eYYjR6a4W6Hr+RGddAY95Wp6dlJ6uZ8yqXAkwZNw09nU9JL8bAbBrQ3NjebF996EeN EN8zWidEIc25PBcGc9CAen4eYlfZztgvGesRiHd/NA0UCwxKhZ68rm+31c3Vr6aQCJw8 Ds7gZeD6UmPSzNFPHsGBhbq+CTArqqrZJhQmzRYt8gkNNjrnDSaG5NpRylsQMv7ong+O sYxakOdpmgJjEzWuoxnEbvBwm8ggDfsbl5UvQNZjAHLLbBXM8hALo5i1CupXy9+6ylTO rn2GaSNN7yyBzJEoW3eOAacmxIGMsOistoQMgZUZHLwQCMOMPFHi5MkoIv/jCxosLRJ5 5bmA== 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 7si2179881pfu.82.2019.08.28.03.32.19; Wed, 28 Aug 2019 03:32:35 -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 S1726651AbfH1Kam (ORCPT + 99 others); Wed, 28 Aug 2019 06:30:42 -0400 Received: from mx2.suse.de ([195.135.220.15]:39656 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726259AbfH1Kal (ORCPT ); Wed, 28 Aug 2019 06:30:41 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 351D6B07B; Wed, 28 Aug 2019 10:30:40 +0000 (UTC) From: Michal Suchanek To: linuxppc-dev@lists.ozlabs.org Cc: Michal Suchanek , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Alexander Viro , "Dmitry V. Levin" , Thomas Gleixner , "Steven Rostedt" , Max Filippov , Firoz Khan , Christophe Leroy , Nicholas Piggin , Hari Bathini , Joel Stanley , Andrew Donnellan , Breno Leitao , "Eric W. Biederman" , Allison Randal , Michael Neuling , Andrew Morton , David Hildenbrand , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH v2 1/4] fs: always build llseek. Date: Wed, 28 Aug 2019 12:30:26 +0200 Message-Id: <7cba5495a65307478877c2654e90535e606f45d3.1566987936.git.msuchanek@suse.de> X-Mailer: git-send-email 2.22.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 64bit !COMPAT does not build because the llseek syscall is in the tables. Signed-off-by: Michal Suchanek --- fs/read_write.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/read_write.c b/fs/read_write.c index 5bbf587f5bc1..9db56931eb26 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -331,7 +331,6 @@ COMPAT_SYSCALL_DEFINE3(lseek, unsigned int, fd, compat_off_t, offset, unsigned i } #endif -#if !defined(CONFIG_64BIT) || defined(CONFIG_COMPAT) SYSCALL_DEFINE5(llseek, unsigned int, fd, unsigned long, offset_high, unsigned long, offset_low, loff_t __user *, result, unsigned int, whence) @@ -360,7 +359,6 @@ SYSCALL_DEFINE5(llseek, unsigned int, fd, unsigned long, offset_high, fdput_pos(f); return retval; } -#endif int rw_verify_area(int read_write, struct file *file, const loff_t *ppos, size_t count) { -- 2.22.0