From: Mikulas Patocka <mikulas@twibright.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
Alexander Viro <viro@zeniv.linux.org.uk>
Subject: [PATCH] hpfs: Use EUCLEAN for filesystem errors
Date: Sat, 9 Jun 2018 23:04:47 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.20.1806092257450.13306@leontynka> (raw)
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
reply other threads:[~2018-06-09 21:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.20.1806092257450.13306@leontynka \
--to=mikulas@twibright.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®