* [PATCH] 2.4.3-ac7 nfsd fix
@ 2001-04-16 14:43 Mikael Pettersson
0 siblings, 0 replies; only message in thread
From: Mikael Pettersson @ 2001-04-16 14:43 UTC (permalink / raw)
To: alan; +Cc: linux-kernel
Bug fix for 2.4.3-ac7 nfsd changes: set_bit() needs a pointer
to the lvalue to modify, not the lvalue itself.
/Mikael
--- linux-2.4.3-ac7/fs/nfsd/nfsfh.c.~1~ Mon Apr 16 15:23:54 2001
+++ linux-2.4.3-ac7/fs/nfsd/nfsfh.c Mon Apr 16 15:57:24 2001
@@ -167,7 +167,7 @@
iput(inode);
return ERR_PTR(-ENOMEM);
}
- set_bit(D_Disconnected, result->d_flags);
+ set_bit(D_Disconnected, &result->d_flags);
d_rehash(result); /* so a dput won't loose it */
return result;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-04-16 14:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-16 14:43 [PATCH] 2.4.3-ac7 nfsd fix Mikael Pettersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®