Re: problems with compiling 2.1.45-7

Bill Hawes (whawes@star.net)
Wed, 16 Jul 1997 10:13:27 -0400


This is a multi-part message in MIME format.
--------------946D93BB4BA38AD2114DBFD8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Joseph Skinner wrote:
> I just tried compiling 2.1.45-7 and found that it fails with a
> multiple definition of d_drop.
>
> I can;t see why this is happening so I was wondering if anyone has
> found a patch for this yet.

Here's the patch I used ...

-Bill
--------------946D93BB4BA38AD2114DBFD8
Content-Type: text/plain; charset=us-ascii; name="dcache_45-patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="dcache_45-patch"

--- include/linux/dcache.h.old Wed Jul 16 06:44:08 1997
+++ include/linux/dcache.h Wed Jul 16 08:59:45 1997
@@ -65,7 +65,7 @@
* to invalidate a dentry for some reason (NFS
* timeouts or autofs deletes).
*/
-inline void d_drop(struct dentry * dentry)
+static inline void d_drop(struct dentry * dentry)
{
list_del(&dentry->d_hash);
INIT_LIST_HEAD(&dentry->d_hash);

--------------946D93BB4BA38AD2114DBFD8--