windows-buf-setdirty-20080724
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 24 Jul 2008 20:32:58 +0000 (20:32 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 24 Jul 2008 20:32:58 +0000 (20:32 +0000)
commitc10b26ca355e47bfb486de971ac275fb281461ca
tree17070ca92d81c7cce0c3bbd05b94e2b5d318ef52
parent0ca9a136a79d78a81fb6a2e941b2a6feef0d4952
windows-buf-setdirty-20080724

LICENSE MIT

Everytime the CM_BUF_DIRTY flag is set on a cm_buf_t, the userp field
on the cm_buf_t must also be set.  Add a cm_user_t parameter to buf_SetDirty()
so that each function that calls it doesn't have to manually set the
last write user.  This improves code readability and the abstraction layering.
src/WINNT/afsd/cm_buf.c
src/WINNT/afsd/cm_buf.h
src/WINNT/afsd/rawops.c
src/WINNT/afsd/smb.c