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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to