mirror of
https://github.com/minio/minio.git
synced 2025-11-20 09:56:07 -05:00
posix: ReadAll should handle the case when parent is not a dir. (#2163)
It can happen so that a read request can come for a file which already has a parent i.e a file. This fix handles this scenario - fixes #2047
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
d676e660c9
commit
de468f92ec
@@ -203,6 +203,7 @@ var objMetadataOpIgnoredErrs = []error{
|
||||
errDiskAccessDenied,
|
||||
errFaultyDisk,
|
||||
errVolumeNotFound,
|
||||
errFileAccessDenied,
|
||||
}
|
||||
|
||||
// readXLMetadata - returns the object metadata `xl.json` content from
|
||||
|
||||
Reference in New Issue
Block a user