Message ID | cover.1705533399.git.wqu@suse.com (mailing list archive) |
---|---|
Headers | show
Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DEB481E876 for <linux-btrfs@vger.kernel.org>; Wed, 17 Jan 2024 23:17:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705533448; cv=none; b=e7PfJwPLsQ+E3OW3n1jFvdvUovLZZClIP3B6peyeRs0o8TpcMxE0NxAmqFaHuSJ1QeRR/p3uGwyML3bTN6qPevp429AKjsv12W63+xBytOb5LGYinOYLda9RzdX4ZPGFhGSwAfOf7md+5q+5css2itID21j5T2Ne9OmNIUXoSzg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705533448; c=relaxed/simple; bh=zIKWTcCHTmiAv6XzVZTuzKcamWsmV2oae8++gqtBm/4=; h=Received:DKIM-Signature:DKIM-Signature:Received:Received:From:To: Subject:Date:Message-ID:X-Mailer:MIME-Version: Content-Transfer-Encoding:X-Spamd-Result:X-Rspamd-Server: X-Spam-Score:X-Rspamd-Queue-Id:X-Spam-Level:X-Spam-Flag: X-Spamd-Bar; b=JqV1YXUtdU3Tw5+NwScULvpx8ZttRmTVtSEectt1qi5gitDquPmCIpiFSCEcJB4tZRtU8vaFYTXL789kTRYNlcE5q2M9L/+i0J2GFfYzZh72FhiHvRcMxgRQwKLizIkdrWYK5TFGPQjQJvpP3G/FeoCgW9+U8iMfcZwY9t+dws8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=rN+Jiy1t; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=WHa5uVU9; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="rN+Jiy1t"; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="WHa5uVU9" Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id CF88122255 for <linux-btrfs@vger.kernel.org>; Wed, 17 Jan 2024 23:17:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1705533445; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=dSFsNrsA7Jp1iqzgyOn1XsYZOinxSE9HA/gUUNUu+EE=; b=rN+Jiy1tIdjaKOWAkYf2eYD4zNsu7ioCOqYoBpsDVu4Ta2hBK0r9QgQqjfS4fQsX6I2Z+s HdQxbcLpvsqIP4JmjRBhEW/lnH5AcNm4hkDM2aQ4E1eQKLFPPM4hzjz500Leu9CpmWc5rN VjyNXI9MjudBLqHaF2Lur5dXkqs0RD0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1705533444; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=dSFsNrsA7Jp1iqzgyOn1XsYZOinxSE9HA/gUUNUu+EE=; b=WHa5uVU9dDOJr2sVrUHh7icMVgXuwyUgIgj1A1oNZagtdG1jzlsUSDBNvpND0xSMlMb1jd SgCbWv5qO5whG8eCiJqcG9mFJSx5mvMMlQ3wEx3+EkaHCdtEJlK3XTBRvw5Ah0huhCgKJw 2lPYQ2eh+W6pQ1EqCBjGD/mlPmT1PXA= Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id EA4EC13800 for <linux-btrfs@vger.kernel.org>; Wed, 17 Jan 2024 23:17:23 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id vtQ4KANgqGVxIQAAD6G6ig (envelope-from <wqu@suse.com>) for <linux-btrfs@vger.kernel.org>; Wed, 17 Jan 2024 23:17:23 +0000 From: Qu Wenruo <wqu@suse.com> To: linux-btrfs@vger.kernel.org Subject: [PATCH v2 0/2] btrfs-progs: parser related cleanups Date: Thu, 18 Jan 2024 09:47:00 +1030 Message-ID: <cover.1705533399.git.wqu@suse.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-btrfs@vger.kernel.org List-Id: <linux-btrfs.vger.kernel.org> List-Subscribe: <mailto:linux-btrfs+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-btrfs+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.com header.s=susede1 header.b=WHa5uVU9 X-Spamd-Result: default: False [4.69 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.com:s=susede1]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FROM_HAS_DN(0.00)[]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[linux-btrfs@vger.kernel.org]; BROKEN_CONTENT_TYPE(1.50)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; DKIM_TRACE(0.00)[suse.com:+]; MX_GOOD(-0.01)[]; MID_CONTAINS_FROM(1.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.com:dkim]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.00)[30.48%] X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Score: 4.69 X-Rspamd-Queue-Id: CF88122255 X-Spam-Level: **** X-Spam-Flag: NO X-Spamd-Bar: ++++ |
Series |
btrfs-progs: parser related cleanups
|
expand
|
On Thu, Jan 18, 2024 at 09:47:00AM +1030, Qu Wenruo wrote: > [CHANGELOG] > v2: > - Properly return the parsed value for parse_u64_with_suffix() > Facepalm, I forgot to assign the result to @value_ret, and only relied > on cli-tests to catch them, but they are not enough to catch. > > - Avoid outputting any error message inside parse_u64_with_suffix() > One error message and exit(1) call is left from previous function. > Need to be consistent with all other error situations. > > - Rebased using the patch from devel branch > So that the modification David did won't need to be redone. Updated thanks.