From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 374E1C3A5A6 for ; Fri, 30 Aug 2019 04:44:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 08C1A20828 for ; Fri, 30 Aug 2019 04:44:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725838AbfH3Eop (ORCPT ); Fri, 30 Aug 2019 00:44:45 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:44704 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725774AbfH3Eop (ORCPT ); Fri, 30 Aug 2019 00:44:45 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92 #3 (Red Hat Linux)) id 1i3Ym7-0000W4-4h; Fri, 30 Aug 2019 04:44:39 +0000 Date: Fri, 30 Aug 2019 05:44:39 +0100 From: Al Viro To: Dave Chinner Cc: Boaz Harrosh , Kai =?iso-8859-1?Q?M=E4kisara_=28Kolumbus=29?= , Christoph Hellwig , linux-fsdevel@vger.kernel.org, Octavian Purdila , Pantelis Antoniou , Linus Torvalds , linux-scsi@vger.kernel.org Subject: Re: [RFC] Re: broken userland ABI in configfs binary attributes Message-ID: <20190830044439.GV1131@ZenIV.linux.org.uk> References: <20190826024838.GN1131@ZenIV.linux.org.uk> <20190826162949.GA9980@ZenIV.linux.org.uk> <20190826193210.GP1131@ZenIV.linux.org.uk> <20190827172734.GS1131@ZenIV.linux.org.uk> <20190829222258.GA16625@ZenIV.linux.org.uk> <20190830041042.GB7777@dread.disaster.area> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190830041042.GB7777@dread.disaster.area> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Fri, Aug 30, 2019 at 02:10:42PM +1000, Dave Chinner wrote: > > reiserfs_file_release(): > > tries to return an error if it can't free preallocated blocks. > > > > xfs_release(): > > similar to the previous case. > > Not quite right. XFS only returns an error if there is data > writeback failure or filesystem corruption or shutdown detected > during whatever operation it is performing. > > We don't really care what is done with the error that we return; > we're just returning an error because that's what the function > prototype indicates we should do... I thought that xfs_release() and friends followed the prototypes you had on IRIX, while xfs_file_release() et.al. were the impedance-matching layer for Linux. Oh, well...