Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp596987imm; Wed, 22 Aug 2018 09:19:12 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyNun2QQCU5LF1w4MPAml0SFIMLrAQ779+Z63H9KcYk/p/u7Ci3shLuV+GsMBlNbL3M0ker X-Received: by 2002:a63:bd01:: with SMTP id a1-v6mr16392106pgf.12.1534954752062; Wed, 22 Aug 2018 09:19:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534954752; cv=none; d=google.com; s=arc-20160816; b=L0vA49kR6G+FZPff9pC+KChh3Uj51HKY49MS2v8LjuCueQbqJLRpPjkMT3ULZurmmQ b/ykh8LJVVn0RgldI8KU0s5fPCeupv3aWqxawx+ra1L1zYBF4bo2nuCs/01aaKSdQVe/ eyHcPlDNXF2MTHOud1RI17AFL+cLYbKfblgHZwxf6Fp08NOQMh9XVY+oJa8YvUXYUL9/ SevfdHB5cxB8uzIFSH/3lw2vtRVTqkm+6G4pVIbAUcAQfIz5N+VC2pKL+RsqvrTh49Lo h60ykSC5eMgMo5B9dd5UfesMknmNnxHR7yYAAqcJ9QrCeNBmES2NOGN6RlO7V/DILv9s EQcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=H4JZhVzrcQmI7/FYu+vHFfddvTe1FopHnhaf1/3KxLs=; b=ml5gEtpoRTHSzekjaosWnB24qQQxJ9VYx8Xq03sWyDuAdbxp1v774kig9uOI6uYASO IIEvSNAEDpqf4E+L0AI7ssj57YZWiP2o0dKUhzWe8YwqLDKdGy91eHOcLwQ/uw1KQTKr hcP30AZGlHIUTtdYgt4yQDm8DNm7tXKlEAylrhEkPbfQ0Vk5wimN0+g9SvMocFSNHjeZ 5ER3cEj047WO6wIhl1nZz9hT8AzVAQh9Yl3IzWXf1gdrJUm6aSA8v7LcRkSZM3uBnLoC etK/xhn138Mh6aHqagvgYj+qvhbwHjn8GoKfC3/PkoAUSbxlT2jj8fZjy527BrSIIS7G g3nA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q23-v6si2026050pgq.483.2018.08.22.09.18.56; Wed, 22 Aug 2018 09:19:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727046AbeHVTnO (ORCPT + 99 others); Wed, 22 Aug 2018 15:43:14 -0400 Received: from mx2.suse.de ([195.135.220.15]:35132 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726770AbeHVTnO (ORCPT ); Wed, 22 Aug 2018 15:43:14 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id F362BAF6C; Wed, 22 Aug 2018 16:17:41 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id CA3CE1E361C; Wed, 22 Aug 2018 18:17:41 +0200 (CEST) Date: Wed, 22 Aug 2018 18:17:41 +0200 From: Jan Kara To: Jeremy Cline Cc: Jan Kara , linux-kernel@vger.kernel.org, Josh Poimboeuf Subject: Re: [PATCH 1/2] fs/quota: Replace XQM_MAXQUOTAS usage with MAXQUOTAS Message-ID: <20180822161741.GA2559@quack2.suse.cz> References: <20180731013731.1987-1-jcline@redhat.com> <20180731013731.1987-2-jcline@redhat.com> <20180822160551.GE23037@quack2.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180822160551.GE23037@quack2.suse.cz> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 22-08-18 18:05:51, Jan Kara wrote: > On Tue 31-07-18 01:37:30, Jeremy Cline wrote: > > XQM_MAXQUOTAS and MAXQUOTAS are, it appears, equivalent. Replace all > > usage of XQM_MAXQUOTAS and remove it along with the unused XQM_*QUOTA > > definitions. > > > > Signed-off-by: Jeremy Cline > > Thanks for the cleanup. The patch looks good, just one small nit: > > > diff --git a/include/uapi/linux/dqblk_xfs.h b/include/uapi/linux/dqblk_xfs.h > > index 03d890b80ebc..a5846cde8272 100644 > > --- a/include/uapi/linux/dqblk_xfs.h > > +++ b/include/uapi/linux/dqblk_xfs.h > > @@ -27,11 +27,6 @@ > > #define XQM_CMD(x) (('X'<<8)+(x)) /* note: forms first QCMD argument */ > > #define XQM_COMMAND(x) (((x) & (0xff<<8)) == ('X'<<8)) /* test if for XFS */ > > You can delete XQM_COMMAND() as well here. > > > -#define XQM_USRQUOTA 0 /* system call user quota type */ > > -#define XQM_GRPQUOTA 1 /* system call group quota type */ > > -#define XQM_PRJQUOTA 2 /* system call project quota type */ > > -#define XQM_MAXQUOTAS 3 > > - Oh, now I've realized that these are actually from uapi header. I don't think it's worth to break existing userspace sources just for a sake of this small cleanup. So I'll just remove this hunk from the patch. Honza -- Jan Kara SUSE Labs, CR