Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7460229imu; Thu, 31 Jan 2019 10:26:29 -0800 (PST) X-Google-Smtp-Source: ALg8bN5KxhmZ5GhueTkw4iVOJtKs6RFdBbxJU8r7tntwjJokDxe5y4XRVvS2CxtJ0ZLxBTnv9eVG X-Received: by 2002:a62:c28e:: with SMTP id w14mr35761474pfk.115.1548959189358; Thu, 31 Jan 2019 10:26:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548959189; cv=none; d=google.com; s=arc-20160816; b=BWdE8TWjHLUIgfdBkYCN5L/nwJnT1iNN3yvyFeqPR1Xf8tjPdhc5QLcNLlcjLWLT/b FsX8rQV+Vr18q7MhUVqzPvKpLktUxtAQVGxEM0KxlV3fPPrgyAUK+/gxEN18nQBQf/e3 hBfps9KVFXKBvK1J4lHTRUGyKI1OdggAHTPPTlzhY+k1pH3ZJHLI6N+txItxTj/DdN0I c63E7O/YBe/w2Fco+973ca9KVQnXOh/tlQ1ytZUR6GlxH7GV2g5lkkGcMZddbyH2RRXg jQyHSiOqnQtiQrxNBjPlVN3W9Fw5/6JUCemqGJhUtQ1vbCmaFsvPYE3moNBrJg/Lao3x x9pA== 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:mail-followup-to :reply-to:message-id:subject:cc:to:from:date; bh=4SNuDqyHkYMqHnLDo/IrH4m8e7/s9SKQlQQ0c7GMLCk=; b=BPDd5kXPFW0Y3HOcxVwuxe0qkTpIt2riL95AnOCPEmL9rWgpKWCU4qmjd60OEX1hap T+8gImy+M+ICS4Qh/9tcRoargEh+iEVdZ9a9k9fbQLMk5YI6NlYHXcGHigZ0uJ9u2mWz oq/HIcuTVnl2RUki9GrxyxcD4KcGaFsvmNZGcBRYCIX9ZmVZOL0/nRIBqy34IkIwOVxR eYrdaWP0B7ZMPqVTlen6S61dz6s7/DuBeq7jDc9xC4OtdEFiV/jASWY4xOFEz37InZWc sx4qfLKcQUKW+9S7fP3akjb6AxjzHJwhz3KAGtfHzQI4dmyn7L4rYicpsabKrLEgh7n6 94Ow== 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 c10si5241011pla.173.2019.01.31.10.26.13; Thu, 31 Jan 2019 10:26:29 -0800 (PST) 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 S1727623AbfAaSLJ (ORCPT + 99 others); Thu, 31 Jan 2019 13:11:09 -0500 Received: from mx2.suse.de ([195.135.220.15]:54226 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726135AbfAaSLI (ORCPT ); Thu, 31 Jan 2019 13:11:08 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 1E759ACA8; Thu, 31 Jan 2019 18:11:07 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 4FFC3DA7D6; Thu, 31 Jan 2019 19:10:32 +0100 (CET) Date: Thu, 31 Jan 2019 19:10:32 +0100 From: David Sterba To: Dennis Zhou Cc: David Sterba , Josef Bacik , Chris Mason , Omar Sandoval , Nick Terrell , kernel-team@fb.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, Omar Sandoval Subject: Re: [PATCH 11/11] btrfs: add zstd compression level support Message-ID: <20190131181032.GM2900@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Dennis Zhou , David Sterba , Josef Bacik , Chris Mason , Omar Sandoval , Nick Terrell , kernel-team@fb.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, Omar Sandoval References: <20190128212437.11597-1-dennis@kernel.org> <20190128212437.11597-12-dennis@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190128212437.11597-12-dennis@kernel.org> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 28, 2019 at 04:24:37PM -0500, Dennis Zhou wrote: > static struct list_head *zstd_get_workspace(unsigned int level) > { > - struct list_head *ws = btrfs_get_workspace(&wsm, level); > - struct workspace *workspace = list_entry(ws, struct workspace, list); > + struct list_head *ws; > + unsigned long nofs_flag; nofs_flag should be 'unsigned'