lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 9 Jun 2018 23:04:47 +0200 (CEST)
From:   Mikulas Patocka <mikulas@...bright.com>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
cc:     linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
        Alexander Viro <viro@...iv.linux.org.uk>
Subject: [PATCH] hpfs: Use EUCLEAN for filesystem errors

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

Signed-off-by: Mikulas Patocka <mikulas@...ax.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ