Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D644BCA0EC3 for ; Mon, 11 Sep 2023 22:06:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236728AbjIKWAy (ORCPT ); Mon, 11 Sep 2023 18:00:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243725AbjIKRfJ (ORCPT ); Mon, 11 Sep 2023 13:35:09 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A19631B8 for ; Mon, 11 Sep 2023 10:35:01 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 6482121842; Mon, 11 Sep 2023 17:35:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1694453700; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IYRYgjntgu6b6mEWldKuccG3gcBVqn6OG8aZTDbKTLk=; b=XkZeSMgQOHsmLpNZAPzyar7JdKkVkzywcuWT64/rkjCnlSvriwgmoEXjNhl+VrxziYcaPq +O1A82Sfkimm18oXrowbrWMj8chAZkRK2bsAcPEQO2axeW00nnl/ttXImh8tPvtjI9pthV yJyBBDx3tpgYr/3HVXo3M2I4YnOrJz4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1694453700; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IYRYgjntgu6b6mEWldKuccG3gcBVqn6OG8aZTDbKTLk=; b=enYs8R50BKyyN1+J6Uj0v61oS5zuIaFxXhcjYjVH1/EKry0JyCInrGWdJ5clWRsxmo9dqZ AEKw79XLdUcVLvBw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 49E3513780; Mon, 11 Sep 2023 17:35:00 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 5ZpYEcRP/2SiKQAAMHmgww (envelope-from ); Mon, 11 Sep 2023 17:35:00 +0000 Date: Mon, 11 Sep 2023 19:28:26 +0200 From: David Sterba To: fdmanana@kernel.org Cc: linux-btrfs@vger.kernel.org, ian@ianjohnson.dev, Filipe Manana Subject: Re: [PATCH 0/2] btrfs: updates for directory reading Message-ID: <20230911172825.GD3159@twin.jikos.cz> Reply-To: dsterba@suse.cz References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Sat, Sep 09, 2023 at 01:08:30PM +0100, fdmanana@kernel.org wrote: > From: Filipe Manana > > Tweak and fix a bug when reading directory entries after a rewinddir(3) > call. Reported by Ian Johnson. > > Link: https://lore.kernel.org/linux-btrfs/YR1P0S.NGASEG570GJ8@ianjohnson.dev/T/#u > > Filipe Manana (2): > btrfs: set last dir index to the current last index when opening dir > btrfs: refresh dir last index during a rewinddir(3) call Thanks for the quick fixes, added to misc-next.