]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: clear pending delete upon deletion
authorJeffrey Altman <jaltman@your-file-system.com>
Thu, 18 Oct 2012 13:56:12 +0000 (09:56 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Fri, 19 Oct 2012 14:19:22 +0000 (07:19 -0700)
commit555412a03f18aff0d30401082ad2946a68bd7694
tree5fc26ee0286be43aaccf811676d1999c1d8741e9
parent05fa1202fb63e32aff3c60d47286c8af232322fe
Windows: clear pending delete upon deletion

During cleanup processing if the DELETE_PENDING flag is set
the service will be told to delete the file when the handle
count reaches 1.  At that point the file will be deleted
and the DELETED flag will be set on the object info object.
The DELETE_PENDING flag was not being cleared which could
lead to confusion.  This patchset clears the flag after deletion.

Change-Id: Ib30bb3a5c3a06b8971ac4523e6eacefaaed068ce
Reviewed-on: http://gerrit.openafs.org/8253
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Rod Widdowson <rdw@steadingsoftware.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsrdr/kernel/lib/AFSCleanup.cpp