Skip to contentSkip to conversation

2.4.3-ac7 nfsd fix

PATCH New Mikael Pettersson 1 participant 1 message Apr 16, 2001 NFS server

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.4.3-ac7 nfsd fix

Bug fix for 2.4.3-ac7 nfsd changes: set_bit() needs a pointer to the lvalue to modify, not the lvalue itself.

/Mikael

fs/nfsd/nfsfh.c renamed from fs/nfsd/nfsfh.c.~1~ +1 -1
@@ -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;
 }