Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp889868pxb; Thu, 28 Jan 2021 02:56:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJzriKb1vFzr5y3MH+slr/IJO2gKnwR69MDJCZmUuu6vk0y9OAe4dZFvybQXLgIII3VWC2if X-Received: by 2002:a17:907:9879:: with SMTP id ko25mr10613165ejc.524.1611831407223; Thu, 28 Jan 2021 02:56:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611831407; cv=none; d=google.com; s=arc-20160816; b=zGgbUzmKmFe9dXn09HMuMmN0Tk+kB2CVb2UteznXkk4jh9paM50wEK4YgwvsYHip5N GbxgDJlNNFcvaNfR3sOP0nEej6Nyx7ZrbnZzBSdh0NNIGnQEMikRGyWt0eY+l3VJM7wd C70g9/4v2IFY+bvZskN7+g50kAdg7mx6MMEzAngCH/MpbFpJRrHYHZb29+7IhMOX5KPB vbLer5HLxHHNZ1SZ/lpvk3iiZ9FHDpx8N/FfterdE0+RqIWGVgop/2g0BhOk42ej6v/u 8t2g3R4qlNrvzJT0jx6iD2x9oIQ5srVzA0Pwb44Q6UAVEFPKMy1bPM5f3N5XMXmI+WGc IV8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=+vNIqGxDMPd+fd6f1yIedQLTvz4uDOPKg258NqNYvMc=; b=Duga7sr28IMAarOLXk7ArSAvdOupWs9cNuZuocXvLFTtxS4Pk1wZZgv+Zl+Hfj2+ud E4mn6mmFjv2wvaYdTl4ZpvriZXFWC/cFKnTr3efuB2tutghsqMfMS3pD3kVcXIeMX8an FeTdjJZnOzZ+Qa3V/2OiecJHsKB1i3KOnqb03xv+GUbsAoMljr1yJZE/ZoX7BAMNJEXj lXOi7WrsXHyZOpMPXSY98506JMWo2bRZ6bxaZ/tYmmq4lc2QEHs+esaSW0b7ycgZ5k5O TlFI9qvNlBAYdqELlp62RaH1G4b0n/4QnSQW9Slckd9NDPxHri/+K+j8salnnqeKN10s CjKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cs9si2052808ejc.113.2021.01.28.02.56.21; Thu, 28 Jan 2021 02:56:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231175AbhA1Kzp (ORCPT + 99 others); Thu, 28 Jan 2021 05:55:45 -0500 Received: from mx2.suse.de ([195.135.220.15]:42888 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbhA1Kzn (ORCPT ); Thu, 28 Jan 2021 05:55:43 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 3300BABC4; Thu, 28 Jan 2021 10:55:02 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 75DFC1E14D9; Thu, 28 Jan 2021 11:55:01 +0100 (CET) Date: Thu, 28 Jan 2021 11:55:01 +0100 From: Jan Kara To: bingjingc Cc: viro@zeniv.linux.org.uk, jack@suse.com, jack@suse.cz, axboe@kernel.dk, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, cccheng@synology.com, robbieko@synology.com, willy@infradead.org, rdunlap@infradead.org Subject: Re: [PATCH v2 0/3] handle large user and group ID for isofs and udf Message-ID: <20210128105501.GC3324@quack2.suse.cz> References: <1611817947-2839-1-git-send-email-bingjingc@synology.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1611817947-2839-1-git-send-email-bingjingc@synology.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 28-01-21 15:12:27, bingjingc wrote: > From: BingJing Chang > > The uid/gid (unsigned int) of a domain user may be larger than INT_MAX. > The parse_options of isofs and udf will return 0, and mount will fail > with -EINVAL. These patches try to handle large user and group ID. > > BingJing Chang (3): > parser: add unsigned int parser > isofs: handle large user and group ID > udf: handle large user and group ID Thanks for your patches! Just two notes: 1) I don't think Matthew Wilcox gave you his Reviewed-by tag (at least I didn't see such email). Generally the rule is that the developer has to explicitely write in his email that you can attach his Reviewed-by tag for it to be valid. 2) Please split the cleanup of kernel doc comments in lib/parser.c in a separate patch. It is unrelated to adding parse_uint() function so it belongs into a separate patch (we occasionally do include small unrelated cleanups if they are on the same line we change anyway but your changes definitely triggered my treshold of this should be a separate patch). Thanks! Honza > > fs/isofs/inode.c | 9 +++++---- > fs/udf/super.c | 9 +++++---- > include/linux/parser.h | 1 + > lib/parser.c | 44 +++++++++++++++++++++++++++++++++----------- > 4 files changed, 44 insertions(+), 19 deletions(-) > > -- > 2.7.4 > -- Jan Kara SUSE Labs, CR