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=-3.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham 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 10E87C48BD3 for ; Wed, 26 Jun 2019 12:21:27 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D4EC720663; Wed, 26 Jun 2019 12:21:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sourceforge.net header.i=@sourceforge.net header.b="LQmivjpW"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sf.net header.i=@sf.net header.b="Wxb6gZI8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D4EC720663 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-f2fs-devel-bounces@lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1hg6vJ-0005J3-6e; Wed, 26 Jun 2019 12:21:13 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1hg6vG-0005IT-Kc; Wed, 26 Jun 2019 12:21:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version :Subject:References:In-Reply-To:Message-ID:Cc:To:From:Date:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=lJpZ5W/5WxDNjMZm8yNYs4WsNv/o06f5eh03oqGL7gg=; b=LQmivjpWsP7QfPOQlqVfDC46i9 CIT39xat08JTD4FWXmDRC5dXZgmhkwM2/3xtHloFgR/wiypjPmrBE7SL1ZsQMTbEbksZGu0iSCi+s f8TvgKh6TuEDcIndD7XSRMebZAV9BFbfEK28GUQ9ZKrImEh1XdJ9kYRWMBjQHZa2t0e8=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:References: In-Reply-To:Message-ID:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=lJpZ5W/5WxDNjMZm8yNYs4WsNv/o06f5eh03oqGL7gg=; b=Wxb6gZI8g0WMC3brue4chpOfYF iXtrymqcHZO0OMpRjwPumbsKYOjaxW8PEDs7KawI7cRy7Np/f94y/+uxUPXIRH+SJbbTyEDc+eFt4 9C0lttXmpBlTyztKGEIaSZYYKMus/g75gfQxPLQ34BaURpOgIr0mgRe9ApS9B2LXtUTU=; Received: from mx1.redhat.com ([209.132.183.28]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) id 1hg6vQ-00Ap2M-Ty; Wed, 26 Jun 2019 12:21:22 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6DBE3308792C; Wed, 26 Jun 2019 12:20:52 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0DAEC5D9C6; Wed, 26 Jun 2019 12:20:49 +0000 (UTC) Received: from zmail21.collab.prod.int.phx2.redhat.com (zmail21.collab.prod.int.phx2.redhat.com [10.5.83.24]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 26F8E1806B0E; Wed, 26 Jun 2019 12:20:43 +0000 (UTC) Date: Wed, 26 Jun 2019 08:20:42 -0400 (EDT) From: Bob Peterson To: "Darrick J. Wong" Message-ID: <868182386.37358699.1561551642881.JavaMail.zimbra@redhat.com> In-Reply-To: <156151633004.2283456.4175543089138173586.stgit@magnolia> References: <156151632209.2283456.3592379873620132456.stgit@magnolia> <156151633004.2283456.4175543089138173586.stgit@magnolia> MIME-Version: 1.0 X-Originating-IP: [10.3.116.201, 10.4.195.9] Thread-Topic: create a generic checking and prep function for FS_IOC_SETFLAGS Thread-Index: 5u1cuSAsKRaw36dS1F+PjLFgFqc7sA== X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Wed, 26 Jun 2019 12:21:15 +0000 (UTC) X-Headers-End: 1hg6vQ-00Ap2M-Ty Subject: Re: [f2fs-dev] [Cluster-devel] [PATCH 1/5] vfs: create a generic checking and prep function for FS_IOC_SETFLAGS X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: shaggy@kernel.org, jfs-discussion@lists.sourceforge.net, linux-efi@vger.kernel.org, Jan Kara , clm@fb.com, adilger kernel , ocfs2-devel@oss.oracle.com, Christoph Hellwig , matthew garrett , cluster-devel@redhat.com, hch@infradead.org, linux-ext4@vger.kernel.org, josef@toxicpanda.com, reiserfs-devel@vger.kernel.org, linux-nilfs@vger.kernel.org, viro@zeniv.linux.org.uk, dsterba@suse.com, jaegeuk@kernel.org, tytso@mit.edu, ard biesheuvel , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-xfs@vger.kernel.org, jk@ozlabs.org, jack@suse.com, linux-fsdevel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-btrfs@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net ----- Original Message ----- > From: Darrick J. Wong > > Create a generic function to check incoming FS_IOC_SETFLAGS flag values > and later prepare the inode for updates so that we can standardize the > implementations that follow ext4's flag values. > > Signed-off-by: Darrick J. Wong > Reviewed-by: Jan Kara > Reviewed-by: Christoph Hellwig > Acked-by: David Sterba > --- > fs/btrfs/ioctl.c | 13 +++++-------- > fs/efivarfs/file.c | 26 +++++++++++++++++--------- > fs/ext2/ioctl.c | 16 ++++------------ > fs/ext4/ioctl.c | 13 +++---------- > fs/f2fs/file.c | 7 ++++--- > fs/gfs2/file.c | 42 +++++++++++++++++++++++++++++------------- > fs/hfsplus/ioctl.c | 21 ++++++++++++--------- > fs/inode.c | 24 ++++++++++++++++++++++++ > fs/jfs/ioctl.c | 22 +++++++--------------- > fs/nilfs2/ioctl.c | 9 ++------- > fs/ocfs2/ioctl.c | 13 +++---------- > fs/orangefs/file.c | 35 ++++++++++++++++++++++++++--------- > fs/reiserfs/ioctl.c | 10 ++++------ > fs/ubifs/ioctl.c | 13 +++---------- > include/linux/fs.h | 3 +++ > 15 files changed, 146 insertions(+), 121 deletions(-) The gfs2 portion looks correct. Reviewed-by: Bob Peterson Regards, Bob Peterson _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel