]> git.proxmox.com Git - mirror_edk2.git/commit - FatPkg/EnhancedFatDxe/ReadWrite.c
EFI_FILE_PROTOCOL spec conformance bug fix.
authorRuiyu Ni <ruiyu.ni@intel.com>
Wed, 28 Jan 2015 08:58:38 +0000 (08:58 +0000)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 7 Apr 2016 06:22:43 +0000 (23:22 -0700)
commit55248f85d180b0bbb0409638cc28e28a053123bd
treefd5d7ad1ba58ab7b87269a0d96c9b872e5334e48
parent2433260edf4f46281030cc0b72d2c3c887f14184
EFI_FILE_PROTOCOL spec conformance bug fix.

1. Write() should return Unsupported instead of WriteProtected when operating above a directory in read-only media.
2. SetInfo() should return Unsupported instead of WriteProtected when operating above a directory using a undefined GUID in read-only media.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Jin <eric.jin@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
(based on FatPkg commit 8ff136aaa3fff82d81514fd3091961ec4a63c873)

[jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Acked-by: Mark Doran <mark.doran@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
FatPkg/EnhancedFatDxe/Info.c
FatPkg/EnhancedFatDxe/ReadWrite.c