mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
Windows: No RO volume test SetFilePosInfo
Setting the file position information on a file is not a data changing operation. Do not perform a readonly volume check. Change-Id: I5dccff569b39187c2891d4339f18db8c54c029a7 Reviewed-on: http://gerrit.openafs.org/11066 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
parent
a10696d940
commit
fe70691319
@ -592,7 +592,8 @@ AFSSetFileInfo( IN PDEVICE_OBJECT LibDeviceObject,
|
||||
try_return( ntStatus);
|
||||
}
|
||||
|
||||
if( BooleanFlagOn( pFcb->ObjectInformation->VolumeCB->VolumeInformation.FileSystemAttributes, FILE_READ_ONLY_VOLUME))
|
||||
if( FileInformationClass != FilePositionInformation &&
|
||||
BooleanFlagOn( pFcb->ObjectInformation->VolumeCB->VolumeInformation.FileSystemAttributes, FILE_READ_ONLY_VOLUME))
|
||||
{
|
||||
|
||||
AFSDbgTrace(( AFS_SUBSYSTEM_FILE_PROCESSING,
|
||||
|
Loading…
Reference in New Issue
Block a user