When an invalidation is processed for a directory object,
send the notification on the directory object that was invalidated
not its parent.
Change-Id: I2f5e698e451576891a82364058baee3dc6717362
Reviewed-on: http://gerrit.openafs.org/7642
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
ulFilter |= FILE_NOTIFY_CHANGE_ATTRIBUTES;
}
- AFSFsRtlNotifyFullReportChange( (*ppObjectInfo)->ParentObjectInformation,
- NULL,
- ulFilter,
- FILE_ACTION_MODIFIED);
+ if( (*ppObjectInfo)->FileType == AFS_FILE_TYPE_DIRECTORY)
+ {
+
+ AFSFsRtlNotifyFullReportChange( (*ppObjectInfo),
+ NULL,
+ ulFilter,
+ FILE_ACTION_MODIFIED);
+ }
+ else
+ {
+
+ AFSFsRtlNotifyFullReportChange( (*ppObjectInfo)->ParentObjectInformation,
+ NULL,
+ ulFilter,
+ FILE_ACTION_MODIFIED);
+ }
//
// Indicate this node requires re-evaluation for the remaining reasons