AFSIgnoreReparsePointToFile() is a helper routine that uses the
global reparse point policy to decide whether or not a reparse point
whose target is a file should be reported to applications as a file.
When per-AuthGroup or per-Process policy is supported, this function
should be modified.
Change-Id: Ifa1b82f92859ede1cef311680ff93a1e38a81a6d
Reviewed-on: http://gerrit.openafs.org/9788
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
return ntStatus;
}
+
+BOOLEAN
+AFSIgnoreReparsePointToFile( void)
+{
+ AFSDeviceExt *pDeviceExt = (AFSDeviceExt *)AFSRDRDeviceObject->DeviceExtension;
+ BOOLEAN bIgnoreReparsePoint;
+
+ {
+
+ bIgnoreReparsePoint = BooleanFlagOn( pDeviceExt->Specific.RDR.ReparsePointPolicy,
+ AFS_REPARSE_POINT_TO_FILE_AS_FILE);
+ }
+
+ return bIgnoreReparsePoint;
+}
AFSPerformObjectInvalidate( IN AFSObjectInfoCB *ObjectInfo,
IN ULONG InvalidateReason);
+BOOLEAN
+AFSIgnoreReparsePointToFile( void);
+
//
// AFSNameArray.cpp Prototypes
//