lkml.org 
[lkml]   [1997]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: problems with compiling 2.1.45-7
At 10:13 AM 7/16/97 -0400, Bill Hawes wrote:
>Joseph Skinner wrote:
>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);

Doesn't that mean that for a given parameter then the fn will always return
the same val, and that it has no side-effects, which is totally false here?

(Not to sound condescending, I hardly have status to be so)

-=- James Mastros

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:1.628 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site