[840] in arla-drinkers
lookup() returns wrong type on Linux 2.2
daemon@ATHENA.MIT.EDU (Jim Nance)
Tue May 18 09:00:03 1999
From owner-arla-drinkers@stacken.kth.se Tue May 18 13:00:02 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 13651 invoked from network); 18 May 1999 12:59:59 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
by bloom-picayune.mit.edu with SMTP; 18 May 1999 12:59:59 -0000
Received: (from majordom@localhost)
by sundance.stacken.kth.se (8.8.8/8.8.8) id OAA14023
for arla-drinkers-list; Tue, 18 May 1999 14:47:42 +0200 (MET DST)
Received: from web203.mail.yahoo.com (web203.mail.yahoo.com [128.11.68.103])
by sundance.stacken.kth.se (8.8.8/8.8.8) with SMTP id OAA14019
for <arla-drinkers@stacken.kth.se>; Tue, 18 May 1999 14:47:33 +0200 (MET DST)
Message-ID: <19990518124303.12125.rocketmail@web203.mail.yahoo.com>
Received: from [207.220.204.26] by web203.mail.yahoo.com; Tue, 18 May 1999 05:43:03 PDT
Date: Tue, 18 May 1999 05:43:03 -0700 (PDT)
From: Jim Nance <jim_nance@yahoo.com>
Subject: lookup() returns wrong type on Linux 2.2
To: arla-drinkers@stacken.kth.se
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk
Hello All,
I found what may be a problem. When I compile
arla-0.24 on my Linux-2.2.9 system, I get the
following
warnings:
xfs_inodeops.c:273: warning: initialization from
incompatible pointer type
xfs_inodeops.c:316: warning: initialization from
incompatible pointer type
xfs_inodeops.c:376: warning: initialization from
incompatible pointer type
I looked at the code and arla's lookup function
returns
an int, but the prototype from the linux kernel
headers
looks like this:
struct dentry * (*lookup) (struct inode *,struct
dentry *);
Now that I think about this I remember a discussion on
linux-kernel, and I think this change was made to
support aliasing with MSDOS file systems. Does anyone
know more about this?
Thanks,
Jim
_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com