]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
hpfs: Use EUCLEAN for filesystem errors
authorMikulas Patocka <mikulas@twibright.com>
Sat, 9 Jun 2018 21:04:47 +0000 (23:04 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 9 Jun 2018 21:34:48 +0000 (14:34 -0700)
Use the error code EUCLEAN for filesystem errors because other
filesystems use this code too.

[ And remove unused EMEMERROR  - Linus ]

Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hpfs/hpfs_fn.h

index 2577ef1034efc45c67beb7e6f8ae54203207c349..2a153aed4c19c35ae0c0f7eeafe8188d8d5da781 100644 (file)
@@ -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