Skip to content

Commit

Permalink
hpfs: Use EUCLEAN for filesystem errors
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
mikulas-patocka authored and torvalds committed Jun 9, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent a16afaf commit f72328d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/hpfs/hpfs_fn.h
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f72328d

Please sign in to comment.