git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Windows: buf_SetDirty add assertion
[openafs.git]
/
src
/
WINNT
/
afsd
/
cm_buf.c
diff --git
a/src/WINNT/afsd/cm_buf.c
b/src/WINNT/afsd/cm_buf.c
index
96b5a70
..
1b8ccec
100644
(file)
--- a/
src/WINNT/afsd/cm_buf.c
+++ b/
src/WINNT/afsd/cm_buf.c
@@
-1685,6
+1685,7
@@
void buf_SetDirty(cm_buf_t *bp, cm_req_t *reqp, afs_uint32 offset, afs_uint32 le
{
osi_assertx(bp->magic == CM_BUF_MAGIC, "invalid cm_buf_t magic");
osi_assertx(bp->refCount > 0, "cm_buf_t refcount 0");
+ osi_assertx(userp != NULL, "userp is NULL");
if (length == 0)
return;