lkml.org 
[lkml]   [1997]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: problems with compiling 2.1.45-7
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--- 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);
\
 
 \ /
  Last update: 2005-03-22 13:39    [from the cache]
©2003-2011 Jasper Spaans