OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3141-g2b86ae3
Gerrit Code Review
Fri, 23 Nov 2012 19:24:19 -0800 (PST)
The following commit has been merged in the master branch:
Author: Jeffrey Altman <firstname.lastname@example.org>
Date: Fri Nov 16 22:27:02 2012 -0500
Windows: Add Hard Link support to AFS Redirector
Both Windows and AFS support the notion of hard links to files.
Add an implementation to the AFS redirector. The body of the
functionality and the IOCTL to the service permits the specification
of hard links to files across directory boundaries. There is a
restriction within AFSSetFileLinkInfo() which prevents cross-directory
requests. However, this can be taken out if AFS ever permits them.
Decrement object information link counts on directory entry
deletions. Do not delete object information context blocks if the
link count is greater than 0. Increment link counts when hard
links are added.
A subsequent patchset will implement the afsd_service support.
Tested-by: BuildBot <email@example.com>
Reviewed-by: Jeffrey Altman <firstname.lastname@example.org>
Tested-by: Jeffrey Altman <email@example.com>
src/WINNT/afsrdr/common/AFSRedirCommonDefines.h | 2 +
src/WINNT/afsrdr/common/AFSUserDefines.h | 2 +
src/WINNT/afsrdr/common/AFSUserStructs.h | 33 ++
src/WINNT/afsrdr/kernel/lib/AFSCommSupport.cpp | 379 +++++++++++++++++++++++
src/WINNT/afsrdr/kernel/lib/AFSFileInfo.cpp | 360 +++++++++++++++++++++-
src/WINNT/afsrdr/kernel/lib/AFSVolumeInfo.cpp | 1 +
src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h | 13 +
7 files changed, 788 insertions(+), 2 deletions(-)
OpenAFS Master Repository