xfs
[Top] [All Lists]

Re: [PATCH 5/6] xfsprogs: use "unsigned short" instead of ushort

To: Theodore Ts'o <tytso@xxxxxxx>
Subject: Re: [PATCH 5/6] xfsprogs: use "unsigned short" instead of ushort
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 30 Jul 2015 10:09:58 -0700
Cc: xfs@xxxxxxxxxxx, fstests@xxxxxxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1437913255-7524-6-git-send-email-tytso@xxxxxxx>
References: <1437913255-7524-1-git-send-email-tytso@xxxxxxx> <1437913255-7524-6-git-send-email-tytso@xxxxxxx>
User-agent: Mutt/1.5.23 (2014-03-12)
On Sun, Jul 26, 2015 at 08:20:54AM -0400, Theodore Ts'o wrote:
> Android's bionic libc doesn't define ushort.  There isn't a real
> benefit (other than perhaps conciseness) to use ushort over "unsigned
> short", and it's only used in a handful of files in xfsprogs.  So
> change over to using unsigned short everywhere.

For the files shared with the kernel this should go into the kernel
first or at least at the same time.  Can you also send
a kernel patch to remove all uses of ushort under fs/xfs?

Otherwise looks fine:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

<Prev in Thread] Current Thread [Next in Thread>