Windows: buf_CleanLocked validate cm_scache_t
authorJeffrey Altman <jaltman@your-file-system.com>
Sun, 18 Nov 2012 02:32:44 +0000 (21:32 -0500)
committerJeffrey Altman <jaltman@your-file-system.com>
Fri, 23 Nov 2012 15:45:45 +0000 (07:45 -0800)
commitc99797eadc80efa24972a85d1c37e03393c888ca
treeea29be7f5452af9a1660e6b9398d59ed94402fc6
parentf03247ddd7f5b4a9cf8ef132757d794546c884ef
Windows: buf_CleanLocked validate cm_scache_t

If the cm_scache_t object is not passed in by the caller ensure
that the cm_scache_t has a valid callback.  If the cm_scache_t
has the CM_SCACHEFLAG_DELETED flag set, clear the dirty flag on
the cm_buf_t and do not bother contacting the file server.

Change-Id: If85be550b59765f64aadea4e1882af9430cebcb4
Reviewed-on: http://gerrit.openafs.org/8473
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsd/cm_buf.c