From patchwork Sat Jun 9 21:04:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikulas Patocka X-Patchwork-Id: 10456241 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 32366601F7 for ; Sat, 9 Jun 2018 21:34:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 23F5424BFE for ; Sat, 9 Jun 2018 21:34:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 18C5D251F9; Sat, 9 Jun 2018 21:34:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C38E524BFE for ; Sat, 9 Jun 2018 21:34:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753251AbeFIVel (ORCPT ); Sat, 9 Jun 2018 17:34:41 -0400 Received: from 109-183-129-149.tmcz.cz ([109.183.129.149]:37166 "EHLO leontynka.twibright.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751138AbeFIVel (ORCPT ); Sat, 9 Jun 2018 17:34:41 -0400 X-Greylist: delayed 1789 seconds by postgrey-1.27 at vger.kernel.org; Sat, 09 Jun 2018 17:34:40 EDT Received: from mikulas (helo=localhost) by leontynka.twibright.com with local-esmtp (Exim 4.89) (envelope-from ) id 1fRl2V-0003Wn-Ba; Sat, 09 Jun 2018 23:04:47 +0200 Date: Sat, 9 Jun 2018 23:04:47 +0200 (CEST) From: Mikulas Patocka X-X-Sender: mikulas@leontynka To: Linus Torvalds cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Viro Subject: [PATCH] hpfs: Use EUCLEAN for filesystem errors Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Use the error code EUCLEAN for filesystem errors because other filesystems use this code too. Signed-off-by: Mikulas Patocka --- 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