[PATCH] hpfs: Use EUCLEAN for filesystem errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Mikulas Patocka <mikulas@xxxxxxxxxxxxxxxxxxxxxxxx>

---
 fs/hpfs/hpfs_fn.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Index: linux-4.17/fs/hpfs/hpfs_fn.h
===================================================================
--- linux-4.17.orig/fs/hpfs/hpfs_fn.h	2018-01-10 09:31:23.000000000 +0100
+++ linux-4.17/fs/hpfs/hpfs_fn.h	2018-06-09 22:54:58.000000000 +0200
@@ -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



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux