xfs
[Top] [All Lists]

Re: TAKE - xfsdump/restore changes for ia64

To: linux-xfs@xxxxxxxxxxx
Subject: Re: TAKE - xfsdump/restore changes for ia64
From: Takayuki Sasaki <sasaki@xxxxxxxxxxxxxxxxxx>
Date: Mon, 01 Oct 2001 15:06:20 +0900
In-reply-to: Your message of Fri, 28 Sep 2001 19:50:25 +1000. <200109280950.TAA36050@snort.melbourne.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi,

FSG QA <fsgqa@xxxxxxxxxxxxxxxxxxxxxxx>  wrote:
> Date:  Fri Sep 28 02:49:27 PDT 2001
> Workarea:  snort.melbourne.sgi.com:/diskb/build4/fsgqa/isms/2.4.x-xfs
(snip)
> cmd/xfsdump/common/stkchk.c - 1.2
>       - make a size long so comparison works for ia32/ia64 with ptr

I have a question.

The type of sc_sz in struct stkchk is changed to long from int,
but get_stacksz() is left decrare to return int. 

stkchk.c line 90:
    stkchkp->sc_sz = get_stacksz( );

Further more, I'm wondering because it seems that rlim_cur is
defined as unsigned long.

[My box is RedHat 7.1]
$ grep rlim_cur /usr/include/*/*.h
/usr/include/bits/resource.h:    rlim_t rlim_cur;
/usr/include/bits/resource.h:    rlim64_t rlim_cur;
(snip)
/usr/include/linux/resource.h:  unsigned long   rlim_cur;
$ grep rlim_t /usr/include/*/*.h
/usr/include/bits/resource.h:typedef __rlim_t rlim_t;
/usr/include/bits/resource.h:typedef __rlim64_t rlim_t;
/usr/include/bits/resource.h:    rlim_t rlim_cur;
/usr/include/bits/resource.h:    rlim_t rlim_max;
/usr/include/bits/types.h:typedef __u_long __rlim_t; /* Type of resource 
counts.  */

Which is correct?

Takayuki


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