posix: Return diskNotFound error rather than errVolumeNotFound (#1568)

Fixes #1559
This commit is contained in:
Harshavardhana
2016-05-09 18:57:39 -07:00
parent b66c3bf35e
commit eec41c369c
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -21,6 +21,9 @@ import "errors"
// errDiskFull - cannot create volume or files when disk is full.
var errDiskFull = errors.New("disk path full")
// errDiskNotFount - cannot find the underlying configured disk anymore.
var errDiskNotFound = errors.New("disk not found")
// errFileNotFound - cannot find the file.
var errFileNotFound = errors.New("file not found")