]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: Fake scache not completely initialized
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 6 Sep 2009 19:20:58 +0000 (15:20 -0400)
committerJeffrey Altman <jaltman|account-1000011@unknown>
Tue, 8 Sep 2009 17:15:24 +0000 (10:15 -0700)
commit96ebb6df31ad300680d4a1dd7d04a714f54a22b5
treec3d396a4f59e633501fee791b36b26318cb15eff
parent132268042d1992d39614e72d67957b2b10ebfba6
Windows: Fake scache not completely initialized

The fake scache object used for pioctl operations was not
fully initialized.  The magic value, data version, and
several locks were not initialized.  Do so.

Since the fid of the fake scache object is 0.0.0.0
remove the assert in cm_GetSCache for cell != 0.
Instead simply return CM_ERROR_INVAL.

LICENSE MIT

Reviewed-on: http://gerrit.openafs.org/406
Reviewed-by: Asanka Herath <asanka@secure-endpoints.com>
Tested-by: Asanka Herath <asanka@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_scache.c