]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: do not flush dirty extents without permission
authorJeffrey Altman <jaltman@your-file-system.com>
Wed, 4 Jan 2012 04:12:34 +0000 (23:12 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 11 Jan 2012 03:49:54 +0000 (19:49 -0800)
commite5a2f955c782ee46d1b24671fd0bac555e11d1a8
tree001582bc3e383910561c86c4d9afb4d93a93a93a
parent22005aae24006dbe9ed9169c82d09ecfb032438d
Windows: do not flush dirty extents without permission

When closing file handles, do not permit dirty extents to be
released back to the service if the current handle (Ccb) does
not have write permission.  The cleanup operation will fail with
STATUS_ACCESS_DENIED, the extents will be released and all of the
dirty data will be discarded.

Change-Id: Iceacf5319147d1bd6277ea160bc67d91f1a49d5b
Reviewed-on: http://gerrit.openafs.org/6500
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Peter Scott <pscott@kerneldrivers.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsrdr/kernel/lib/AFSClose.cpp