[841] in arla-drinkers
Re: lookup() returns wrong type on Linux 2.2
daemon@ATHENA.MIT.EDU (Magnus Ahltorp)
Tue May 18 09:36:20 1999
From owner-arla-drinkers@stacken.kth.se Tue May 18 13:36:20 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 14621 invoked from network); 18 May 1999 13:36:18 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
by bloom-picayune.mit.edu with SMTP; 18 May 1999 13:36:18 -0000
Received: (from majordom@localhost)
by sundance.stacken.kth.se (8.8.8/8.8.8) id PAA14630
for arla-drinkers-list; Tue, 18 May 1999 15:27:13 +0200 (MET DST)
Received: from turbot.pdc.kth.se (turbot.pdc.kth.se [130.237.221.42])
by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id PAA14625
for <arla-drinkers@stacken.kth.se>; Tue, 18 May 1999 15:27:08 +0200 (MET DST)
Received: (from d95-mah@localhost)
by turbot.pdc.kth.se (8.8.7/8.8.7) id PAA25270;
Tue, 18 May 1999 15:26:58 +0200 (MET DST)
To: Jim Nance <jim_nance@yahoo.com>
Cc: arla-drinkers@stacken.kth.se
Subject: Re: lookup() returns wrong type on Linux 2.2
References: <19990518124303.12125.rocketmail@web203.mail.yahoo.com>
From: Magnus Ahltorp <map@stacken.kth.se>
Content-Type: text/plain; charset="iso-8859-1"
Date: 18 May 1999 15:26:58 +0200
In-Reply-To: Jim Nance's message of "Tue, 18 May 1999 05:43:03 -0700 (PDT)"
Message-ID: <ixdemke5x0d.fsf@turbot.pdc.kth.se>
Lines: 21
X-Mailer: Gnus v5.6.45/Emacs 19.34
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk
> 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 *);
Yes, I know this. Alexander Viro changed the interface. I have chosen
not to change the code for now, since it should work anyway. I will
have to use lots of ugly #ifdef:s, and that's why it wasn't included
in 0.24. The code will change in the future, though.
> 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?
Yes, it was part of the big changes that also included the rename
semantic change. That is, however, changed in arla 0.24.
/Magnus
map@stacken.kth.se