Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Randolph Chung <randolph@tausq.org>
To: Grant Grundler <grundler@dsl2.external.hp.com>
Cc: Stefan Pfetzing <dreamind@dreamind.de>,
	parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] XFS - blkgetsize64
Date: Wed, 4 Sep 2002 11:11:56 -0700	[thread overview]
Message-ID: <20020904181156.GJ17893@tausq.org> (raw)
In-Reply-To: <20020904165147.A33FC4829@dsl2.external.hp.com>

> I don't think it's the driver.

no, not the driver...

> lseek64 must be getting redirected to lseek().
> Linux kernel only supports "lseek".

lseek64 is translated to a sys_llseek (you can see that with strace). 

> See "struct file_operations" in include/linux/fs.h.
> loff_t is a 64-bit type.
> include/linux/types.h:typedef __kernel_loff_t           loff_t;
> include/asm/posix_types.h:typedef long long             __kernel_loff_t;

we need to do some tricks to get this right ... some of the other
syscalls are fixed, but this one is not it seems.

> I want to know if arch/parisc/kernel/sys_parisc32.c might be the problem.

fwiw sys_llseek is not translated.

randolph

  reply	other threads:[~2002-09-04 18:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-04 14:30 [parisc-linux] XFS - blkgetsize64 Stefan Pfetzing
2002-09-04 16:51 ` Grant Grundler
2002-09-04 18:11   ` Randolph Chung [this message]
2002-09-04 18:42     ` [parisc-linux] GCC and quad-precision floating point John David Anglin
2002-09-04 19:15       ` Carlos O'Donell
2002-09-04 19:59         ` John David Anglin
2002-09-04 18:28   ` [parisc-linux] XFS - blkgetsize64 Stefan Pfetzing
2002-09-04 20:57     ` Stefan Pfetzing
2002-09-05  4:38       ` Randolph Chung
2002-09-05  5:28 ` Randolph Chung

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=20020904181156.GJ17893@tausq.org \
    --to=randolph@tausq.org \
    --cc=dreamind@dreamind.de \
    --cc=grundler@dsl2.external.hp.com \
    --cc=parisc-linux@lists.parisc-linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox