Windows: AFSCleanupFile always flush on last handle
authorJeffrey Altman <jaltman@your-file-system.com>
Tue, 22 Jan 2013 17:44:21 +0000 (12:44 -0500)
committerJeffrey Altman <jaltman@your-file-system.com>
Sat, 2 Feb 2013 17:19:10 +0000 (09:19 -0800)
commit8ae06c2ea48651ebd90635ffcc68bbccfeb908c8
tree7d40288507499edc9099381311b3d3dfb1d2084b
parent5bedc5e03a21409b7d2426387584267e33073457
Windows: AFSCleanupFile always flush on last handle

Do not rely on a count of dirty extents to determine if the
service should flush a file during a cleanup operation.  Simply
because there are no dirty extents held by the redirector does
not imply that the service has no dirty buffers for the file.

Change-Id: Ifc7c139a587413626eae145f343c4295dd94f28a
Reviewed-on: http://gerrit.openafs.org/8971
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/afsrdr/kernel/lib/AFSCleanup.cpp