[PATCH] 2.4.3-ac7 nfsd fix

From: Mikael Pettersson (mikpe@csd.uu.se)
Date: Mon Apr 16 2001 - 09:43:30 EST


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;
 }
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 23 2001 - 21:00:19 EST