aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2018-06-09 23:04:47 +0200
committerLinus Torvalds <[email protected]>2018-06-09 14:34:48 -0700
commitf72328d27f3bb117b7f707fae2ca20d03ba2796d (patch)
tree592567d13292240a6e79efef0e47f51f3567ef65
parenta16afaf7928b74c30a4727cdcaa67bd10675a55d (diff)
hpfs: Use EUCLEAN for filesystem errors
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 <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--fs/hpfs/hpfs_fn.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/hpfs/hpfs_fn.h b/fs/hpfs/hpfs_fn.h
index 2577ef1034ef..2a153aed4c19 100644
--- a/fs/hpfs/hpfs_fn.h
+++ b/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