Messages in this thread Patch in this message | | | Date | Wed, 16 Jul 1997 10:13:27 -0400 | From | Bill Hawes <> | Subject | Re: 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); | |