Skip to contentSkip to conversation

hpfs: Use EUCLEAN for filesystem errors

PATCH New Mikulas Patocka 1 participant 1 message Jun 9, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hpfs: Use EUCLEAN for filesystem errors

Use the error code EUCLEAN for filesystem errors because other filesystems use this code too.

---
 fs/hpfs/hpfs_fn.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
fs/hpfs/hpfs_fn.h +1 -2
Index: linux-4.17/fs/hpfs/hpfs_fn.h
===================================================================
@@ -26,8 +26,7 @@
 #include "hpfs.h"
 
 #define EIOERROR  EIO
-#define EFSERROR  EPERM
-#define EMEMERROR ENOMEM
+#define EFSERROR  EUCLEAN
 
 #define ANODE_ALLOC_FWD	512
 #define FNODE_ALLOC_FWD	0