From mboxrd@z Thu Jan 1 00:00:00 1970 From: Max Subject: Re: [patch] fs/hpfs/*: fix HPFS support under 64-bit kernel Date: Sat, 19 Mar 2005 21:24:36 -0800 Message-ID: <423D0914.7020908@unn.ac.ru> References: <200503200511.j2K5BF5h014768@supreme.pcug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org Received: from pimout4-ext.prodigy.net ([207.115.63.98]:40596 "EHLO pimout4-ext.prodigy.net") by vger.kernel.org with ESMTP id S261877AbVCTFZF (ORCPT ); Sun, 20 Mar 2005 00:25:05 -0500 To: Stephen Rothwell In-Reply-To: <200503200511.j2K5BF5h014768@supreme.pcug.org.au> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Stephen, I've made my patch compatible with the rest of HPFS sources. There is a lot of places where 'unsigned' has to be precisely 32 bits long. So having 'u32' just in my small patch does not make much sense. Max Stephen Rothwell wrote: > From: Max > >>diff -u old/fs/hpfs/hpfs.h fs/hpfs/hpfs.h >>--- old/fs/hpfs/hpfs.h 2005-03-04 09:26:46.000000000 -0800 >>+++ fs/hpfs/hpfs.h 2005-03-14 09:11:59.884612816 -0800 >>@@ -27,6 +27,8 @@ >> typedef secno fnode_secno; /* sector number of an fnode */ >> typedef secno anode_secno; /* sector number of an anode */ >> >>+typedef unsigned time32_t; /* 32-bit time_t type */ > > > Please use u32 instead of unsigned as u32 will *always* be an > unsigned 32 bit quantity ... > > Cheers, > Stephen Rothwell > >