From patchwork Thu Feb 27 08:45:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mary Natalia X-Patchwork-Id: 13993931 Received: from schizo.vip (unknown [66.78.40.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6BE4A1F16B; Thu, 27 Feb 2025 08:52:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=66.78.40.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740646350; cv=none; b=VrSL/xVpu2IiPAFzJw1pAEMTp79avKNckFf+1zMRLTQW+srd/Jw8m2xb1Tind7/6if+B7oSkc3GZ4kOizvS0KYXLa/N6vfjjC7bCAedpe5HQZ/G11fcrA9Ob+CsaJ+tMvbeQBSQGOXaPbjtNcl2Jxt02+LiFV6vSOT2gTnCRfas= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740646350; c=relaxed/simple; bh=ZzUBz7OEJTiPJiD8MP5wX5KOR/2FRnp+mml/fgSIUow=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Emr/RAXs+SIW6hLPU4NqqQAypFeBl8984r44Il+ZQ2Rh+2nAmw68thELpRG9mN6SYlEsyGPbMr8r+dvyfDsX1JwMeOA+BihjdogI599M4JDUaZVRpxaWMI69iYFZm2XQX9HI9TG4X4OifmASja+ITmKE0hnGaqZVXpuYPuLf+Ek= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=schizo.vip; spf=none smtp.mailfrom=schizo.vip; arc=none smtp.client-ip=66.78.40.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=schizo.vip Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=schizo.vip From: Mary Natalia To: anna@kernel.org Cc: Mary Natalia , Trond Myklebust , linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] fs/nfs/io.c: fix comment for nfs_start_io_write Date: Thu, 27 Feb 2025 00:45:27 -0800 Message-ID: <20250227084534.1997737-2-mana@schizo.vip> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 the doc comment for nfs_start_io_write incorrectly indicates that the function is used for preparing for buffered read operations. --- fs/nfs/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfs/io.c b/fs/nfs/io.c index 3388faf2acb9..71befe161506 100644 --- a/fs/nfs/io.c +++ b/fs/nfs/io.c @@ -80,7 +80,7 @@ nfs_end_io_read(struct inode *inode) * nfs_start_io_write - declare the file is being used for buffered writes * @inode: file inode * - * Declare that a buffered read operation is about to start, and ensure + * Declare that a buffered write operation is about to start, and ensure * that we block all direct I/O. */ int