Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3319023imu; Fri, 18 Jan 2019 08:22:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN7rNcBM0SjDwA0nDTIvM9M2NCnsJtK0HHKEYrp9+Jg1DA3ulp3ZuSVeNP/kVFg7HbDVxJc9 X-Received: by 2002:a62:3141:: with SMTP id x62mr19885204pfx.12.1547828566552; Fri, 18 Jan 2019 08:22:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547828566; cv=none; d=google.com; s=arc-20160816; b=kXRdk1euv5DfNtpO/4/tP6AL5utXk0sOgSCIfZLFCHrufqDjHew7PqskhZkaoXe1EB xBZqzITyqiNmecJaw88pqtfFDe5KtcKuiUSu+rE/hP1SsHeT2/jxyvBVMj/+20I0ziHE Y1hUlJvxQsvI6a548zA04666d57cXI9o0HLPnG/t3EWY5LF0/EYIB+EzJyR8Cre5v2cm qY9Un/RVlv9K3VMslmuUGlSQw5IwLTzcv0x/E/3OloCDpvg0RvtCo7/M/CbOL3WR1SuN I/BIAtU/yaAGapMzAuXkzetpQju//WNbPo0N/Rue1bI8EH5kEwYVqqBf607oQDBO2biE BPcA== 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=ckcL7D3Zy0bVQIzWpzOiXgOXeP28FDTSfHaGIzirKio=; b=menICWim34mrXDUZKcg0ABCAgPOFNgkkRz4TiMIwVff+vHILsEAMJRrRel+QgmKy5W dOX/+iYTaluhlEribjEfWd0HEvpXfN88ayjQrcj28LTT0CZiFwhDl9NTaOxNhCBjJDLU SHajpttLAMkhgLFu+lkXAKTLEPbHk+X1uvDVzhyrinRoFADDLwzBfFtXM1hrPgtFMMnW Sxsn8uMcRJTykmQ9COno/nT/0iWSquMXPtBdVZpHpdTfJ5WgMsZYO3JTq+WwlBCx962p yATYp2P+6D/Y9/9d4rgBrNkgsjb/Rv/IomGvSfamxWyR3Huq/0olJqM85dVSGDX64x9o xb0g== 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 f10si1142958pgl.528.2019.01.18.08.22.31; Fri, 18 Jan 2019 08:22:46 -0800 (PST) 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 S1728550AbfARQU5 (ORCPT + 99 others); Fri, 18 Jan 2019 11:20:57 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:56675 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728452AbfARQUz (ORCPT ); Fri, 18 Jan 2019 11:20:55 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPA (Nemesis) id 1M4s8v-1glu2i4Ab9-0023hU; Fri, 18 Jan 2019 17:19:36 +0100 From: Arnd Bergmann To: y2038@lists.linaro.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Cc: Arnd Bergmann , mattst88@gmail.com, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, tony.luck@intel.com, fenghua.yu@intel.com, geert@linux-m68k.org, monstr@monstr.eu, paul.burton@mips.com, deller@gmx.de, benh@kernel.crashing.org, mpe@ellerman.id.au, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, dalias@libc.org, davem@davemloft.net, luto@kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, jcmvbkbc@gmail.com, akpm@linux-foundation.org, deepa.kernel@gmail.com, ebiederm@xmission.com, firoz.khan@linaro.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH v2 15/29] alpha: add standard statfs64/fstatfs64 syscalls Date: Fri, 18 Jan 2019 17:18:21 +0100 Message-Id: <20190118161835.2259170-16-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190118161835.2259170-1-arnd@arndb.de> References: <20190118161835.2259170-1-arnd@arndb.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:rSakGMBaEBbAtQUcV3qv3NM7i+OWluASRZee787Xpo3/o23caVn QWs5OY5vh9opxy1/zCZ9LY9N9pIJScThNKTMUOE8nA6un262wDIq2Fjhg5yIiWEmn82x0g9 8p3VeDjI0Rm19xjqPj0Z3FbT5slvuvHZtcUqZPj+gSCMB48TPbdYEEw4VLMKLx07SalqB3b h3OVH5LxVZJKnyB7bc21Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:lg2Zcst79FI=:RjM/7u0hFuGHZ2BRfjTPMD 8fbJ1Oqm5cIPC9GeaHvhUwxiy6Kjrm/A90avnT4gPYEGG3drhLEmcVMffAdNdtsLTT2kOQu/9 9U1iqxCzfMtamHuo+Lvykvje1o1aTsd2rp+F0IR9Sf+vhzfs3Ry1952VDFu0nPS2jVP/yso/5 /zohi1guOX5+PufGw5W40eWBbQtN7cydGZxEf3WMCnZ1zcVlXCx6sY9+1Rjbyvf1+k0f18R8K T2QJYu7012AdY16U6LfPR/21li2ADSjVByZ8E43b8tHba6P1U7dW1+DOogZ+wfBjkG0FW+22+ hK/j1NbUyVDgs/0sAib43CUyRFQovnEdIJiz9ogsL8XY5ptvCVdCiXlgq8U4xBKgcba8zQ2zK zP7aq+pVaAWVNpRw9ucrV0CNZqVVkj6exO56AwQ7TSrWLv2er5omNVTKolhgh+K3vCud/MP3k QFUAdqHPpxJFDVWW0QclTKKiM+AqrHzrkW5L2rYyv0TKN+BltH3vLxKleH3bq4UKU3V9M54VY 149cHyT5F0DL6qHinYu9NHirim1imOhLAhDnmiVl43A3WqSlfS3sTrd2jeYunrJrgAn5huc69 rDrSDi5snBC3J6gkHsCqMxkqovxLuN0yASzWROjAAglW0rMvI5oSBu5kz+U6ziG7P0chho9G4 NVjYAQ/GPHW1EJskkpatgeukn2lCfJ97qsSET1mX9q1QVgyHAWcBLswP9TPLd0jQA+/DMuOon r0AZp67Be14b8gSfAB9zm3btQOHXBPlWLDZnkQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As Joseph Myers points out, alpha has never had a standard statfs64 interface and instead returns only 32-bit numbers here. While there is an old osf_statfs64 system call that returns additional data, this has some other quirks and does not get used in glibc. I considered making the stat64 structure layout compatible with with the one used by the kernel on most other 64 bit architecture that implement it (ia64, parisc, powerpc, and sparc), but in the end decided to stay with the one that was traditionally defined in the alpha headers but not used, since this is also what glibc exposes to user space. Signed-off-by: Arnd Bergmann --- arch/alpha/kernel/syscalls/syscall.tbl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/alpha/kernel/syscalls/syscall.tbl b/arch/alpha/kernel/syscalls/syscall.tbl index 25b4a7e76943..0ebd59fdcb8b 100644 --- a/arch/alpha/kernel/syscalls/syscall.tbl +++ b/arch/alpha/kernel/syscalls/syscall.tbl @@ -456,3 +456,5 @@ 525 common pkey_free sys_pkey_free 526 common pkey_mprotect sys_pkey_mprotect 527 common rseq sys_rseq +528 common statfs64 sys_statfs64 +529 common fstatfs64 sys_fstatfs64 -- 2.20.0