[PATCH] vfs_fruit: Fix the 32-bit build

Christoph Hellwig hch at infradead.org
Thu May 4 12:08:04 UTC 2017

On Thu, May 04, 2017 at 02:04:40PM +0200, vl--- via samba-technical wrote:
> Hi!
> Review appreciated!
> Thanks, Volker

> From bfede5abc7b35ffba15e55b5f16b43cf588590ff Mon Sep 17 00:00:00 2001
> From: Volker Lendecke <vl at samba.org>
> Date: Sat, 29 Apr 2017 12:01:41 +0200
> Subject: [PATCH] vfs_fruit: Fix the 32-bit build
> On debian 32-bit, size_t is an 32 bit, but off_t is 64 bit.

That's the case for most modern 32-bit Unix ABIs - on 4.4BSD an later
off_t is always 64-bit, while on Linux and others you need to explicitly
ask for it, although file system related software like Samba would
be broken without the opt-in into a 64-bit off_t..

Reviewed-by: Christoph Hellwig <hch at lst.de>

More information about the samba-technical mailing list