summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/hpfs_fn.h
diff options
context:
space:
mode:
authorMikulas Patocka <mikulas@twibright.com>2018-06-09 23:04:47 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2018-06-09 23:34:48 +0200
commitf72328d27f3bb117b7f707fae2ca20d03ba2796d (patch)
tree592567d13292240a6e79efef0e47f51f3567ef65 /fs/hpfs/hpfs_fn.h
parentMerge tag 'for-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/li... (diff)
downloadlinux-f72328d27f3bb117b7f707fae2ca20d03ba2796d.tar.xz
linux-f72328d27f3bb117b7f707fae2ca20d03ba2796d.zip
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 <mikulas@artax.karlin.mff.cuni.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-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