All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vinson Lee <vlee@freedesktop.org>
To: "David Sterba" <dsterba@suse.com>, "Josef Bacik" <jbacik@fb.com>,
	"Liu Bo" <bo.li.liu@oracle.com>, "Jeff Mahoney" <jeffm@suse.com>,
	"Chris Mason" <clm@fb.com>,
	"Gabríel Arthúr Pétursson" <gabriel@system.is>,
	"Anand Jain" <anand.jain@oracle.com>
Cc: Vinson Lee <vlee@freedesktop.org>, linux-btrfs@vger.kernel.org
Subject: [PATCH] btrfs: Use __u64 in exported linux/btrfs.h.
Date: Sat, 28 May 2016 07:04:38 +0000	[thread overview]
Message-ID: <1464419078-19855-1-git-send-email-vlee@freedesktop.org> (raw)

This patch fixes this build error.

/usr/include/linux/btrfs.h:121:3: error: unknown type name ‘u64’
   u64 devid;
   ^~~

Fixes: 6b526ed70cf1 ("btrfs: introduce device delete by devid")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
---
 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 23c6960e94a4..2bdd1e3e7007 100644
--- a/include/uapi/linux/btrfs.h
+++ b/include/uapi/linux/btrfs.h
@@ -118,7 +118,7 @@ struct btrfs_ioctl_vol_args_v2 {
 	};
 	union {
 		char name[BTRFS_SUBVOL_NAME_MAX + 1];
-		u64 devid;
+		__u64 devid;
 	};
 };
 
-- 
2.8.3


             reply	other threads:[~2016-05-28  7:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-28  7:04 Vinson Lee [this message]
2016-05-28 16:06 ` [PATCH] btrfs: Use __u64 in exported linux/btrfs.h Anand Jain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1464419078-19855-1-git-send-email-vlee@freedesktop.org \
    --to=vlee@freedesktop.org \
    --cc=anand.jain@oracle.com \
    --cc=bo.li.liu@oracle.com \
    --cc=clm@fb.com \
    --cc=dsterba@suse.com \
    --cc=gabriel@system.is \
    --cc=jbacik@fb.com \
    --cc=jeffm@suse.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.