Message ID | 20220225182829.1236093-5-trondmy@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-nfs-owner@kernel.org> 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 9710FC4332F for <linux-nfs@archiver.kernel.org>; Fri, 25 Feb 2022 18:34:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232563AbiBYSfS (ORCPT <rfc822;linux-nfs@archiver.kernel.org>); Fri, 25 Feb 2022 13:35:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233335AbiBYSfP (ORCPT <rfc822;linux-nfs@vger.kernel.org>); Fri, 25 Feb 2022 13:35:15 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 417F41A9048 for <linux-nfs@vger.kernel.org>; Fri, 25 Feb 2022 10:34:40 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E0B54B8330C for <linux-nfs@vger.kernel.org>; Fri, 25 Feb 2022 18:34:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 424EBC340F3 for <linux-nfs@vger.kernel.org>; Fri, 25 Feb 2022 18:34:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645814077; bh=AkViboMthu16I6ccMD5EDxf5c/hBYqowBXD+650a51k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ceUw4d2NfcCE8i42+DVJ0EdK9vygVYdk7PC0VEmOujurlSNFkrRHm0UknAOLyhxKT SPnohJ1qh/dwBa5NjaBVo5QX9HfcDNLnm1C2hj9OGU/9XJ4Gv58voB3Y7vuTt/sR5Z 5rXG3gOWqxrZDYOE8NgPm85PFxmvCRz1Te76YDfi4D6RR8RqSyQm7A/mfJIFuqcvba KrC5Ir2QyqQXpsbWMbuw7TjRcGSuF2MPnIKBnTLIlg+Gr+myuTNSoOwhOHfOld+nQH PX1EcIdAPhkEZVvWfWRQXiPQhs2RH5XsdeEiZArrfRVkCc82z+K3sj11TqlMbF+1MJ 9do1sK2UgKy5Q== From: trondmy@kernel.org To: linux-nfs@vger.kernel.org Subject: [PATCH v8 04/24] NFS: Initialise the readdir verifier as best we can in nfs_opendir() Date: Fri, 25 Feb 2022 13:28:09 -0500 Message-Id: <20220225182829.1236093-5-trondmy@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220225182829.1236093-4-trondmy@kernel.org> References: <20220225182829.1236093-1-trondmy@kernel.org> <20220225182829.1236093-2-trondmy@kernel.org> <20220225182829.1236093-3-trondmy@kernel.org> <20220225182829.1236093-4-trondmy@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-nfs.vger.kernel.org> X-Mailing-List: linux-nfs@vger.kernel.org |
Series |
Readdir improvements
|
expand
|
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 1aa55cac9d9a..1dfbd05081ad 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c @@ -89,6 +89,7 @@ static struct nfs_open_dir_context *alloc_nfs_open_dir_context(struct inode *dir NFS_INO_REVAL_FORCED); list_add(&ctx->list, &nfsi->open_files); clear_bit(NFS_INO_FORCE_READDIR, &nfsi->flags); + memcpy(ctx->verf, nfsi->cookieverf, sizeof(ctx->verf)); spin_unlock(&dir->i_lock); return ctx; }