From patchwork Mon Apr 1 18:01:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Bolle X-Patchwork-Id: 2372001 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 473EEDFB7B for ; Mon, 1 Apr 2013 18:01:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757475Ab3DASBd (ORCPT ); Mon, 1 Apr 2013 14:01:33 -0400 Received: from cpsmtpb-ews06.kpnxchange.com ([213.75.39.9]:65422 "EHLO cpsmtpb-ews06.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757060Ab3DASBc (ORCPT ); Mon, 1 Apr 2013 14:01:32 -0400 Received: from cpsps-ews17.kpnxchange.com ([10.94.84.183]) by cpsmtpb-ews06.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Mon, 1 Apr 2013 20:01:32 +0200 Received: from CPSMTPM-TLF104.kpnxchange.com ([195.121.3.7]) by cpsps-ews17.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Mon, 1 Apr 2013 20:01:32 +0200 Received: from [192.168.1.103] ([212.123.139.93]) by CPSMTPM-TLF104.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Mon, 1 Apr 2013 20:01:31 +0200 Message-ID: <1364839290.21627.67.camel@x61.thuisdomein> Subject: [PATCH 5/8] btrfs: do not export "u64" to userspace From: Paul Bolle To: Chris Mason Cc: linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 01 Apr 2013 20:01:30 +0200 X-Mailer: Evolution 3.4.4 (3.4.4-2.fc17) Mime-Version: 1.0 X-OriginalArrivalTime: 01 Apr 2013 18:01:31.0701 (UTC) FILETIME=[F0D14650:01CE2F02] X-RcptDomain: vger.kernel.org Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org btrfs.h exports "u64" to userspace. Use "__u64" instead. Signed-off-by: Paul Bolle --- Tested with a kernel build. I'm not familiar with userspace code using btrfs.h. include/uapi/linux/btrfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/btrfs.h b/include/uapi/linux/btrfs.h index fa3a5f9..3ee970b 100644 --- a/include/uapi/linux/btrfs.h +++ b/include/uapi/linux/btrfs.h @@ -460,7 +460,7 @@ struct btrfs_ioctl_send_args { struct btrfs_ioctl_search_args) #define BTRFS_IOC_INO_LOOKUP _IOWR(BTRFS_IOCTL_MAGIC, 18, \ struct btrfs_ioctl_ino_lookup_args) -#define BTRFS_IOC_DEFAULT_SUBVOL _IOW(BTRFS_IOCTL_MAGIC, 19, u64) +#define BTRFS_IOC_DEFAULT_SUBVOL _IOW(BTRFS_IOCTL_MAGIC, 19, __u64) #define BTRFS_IOC_SPACE_INFO _IOWR(BTRFS_IOCTL_MAGIC, 20, \ struct btrfs_ioctl_space_args) #define BTRFS_IOC_START_SYNC _IOR(BTRFS_IOCTL_MAGIC, 24, __u64)