]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: Do not execute tasks on deleted files
authorJeffrey Altman <jaltman@your-file-system.com>
Fri, 29 Jul 2011 22:09:53 +0000 (18:09 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Tue, 2 Aug 2011 20:50:51 +0000 (13:50 -0700)
commita36705f48889821ff38c6f8fc72c5ccb980e14ac
treee85e6aeef1157d122e6f300fffe217885312f748
parentcf11acc2fd82170f891042ad945f94ec7ea8bb6b
Windows: Do not execute tasks on deleted files

If a cm_BkgDaemon thread finds a queued request whose cm_scache_t
has the CM_SCACHEFLAG_DELETED flag set, do not execute the request
and fail it immediately with CM_ERROR_BADFD.  Any attempt to execute
the request will fail with VNOVNODE from the file server.

Reviewed-on: http://gerrit.openafs.org/5120
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from afc3ded56795d30e4e0f38d11f8302568943c49b)

Change-Id: I92610c215d7d44ceb1894bb3ab7784534a66e452
Reviewed-on: http://gerrit.openafs.org/5146
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_daemon.c