linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hpfs: Use EUCLEAN for filesystem errors
@ 2018-06-09 21:04 Mikulas Patocka
  0 siblings, 0 replies; only message in thread
From: Mikulas Patocka @ 2018-06-09 21:04 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-fsdevel, linux-kernel, Alexander Viro

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

Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>

---
  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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-06-09 21:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-09 21:04 [PATCH] hpfs: Use EUCLEAN for filesystem errors Mikulas Patocka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).