From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67C1FC433DB for ; Mon, 21 Dec 2020 04:29:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 30D4422CB2 for ; Mon, 21 Dec 2020 04:29:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727460AbgLUE3l (ORCPT ); Sun, 20 Dec 2020 23:29:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726345AbgLUE3l (ORCPT ); Sun, 20 Dec 2020 23:29:41 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C2ECC0613D3 for ; Sun, 20 Dec 2020 20:29:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=RtEAlOpEBEbxdKJENf0X8/PxK1k1dkBAwswBPT8os68=; b=ZwHVTJld6G4brrf9x0h75RubyF kDs8i0fpPe8VtVlqC7LJ10KwKicGqJy7hYvTG6IW2dSBCGYGC9dswQY8mFdvBfcp8mXekdONTOsSm TDjgHvN4I2wSsvGCIl7Y1OwN838pqfUPmot/CSQX+nk0eL/+KXT82mR1HAqliBvszwaYV8T291HI0 W58Hrbz23+azbYCGd3j+XW9+iuFnP5Xv4a8acd6q7Yy8aJH2+8S5zSQEssaLrzaQVOjqobRM6wDvJ 82bS63VqLMd0TbdL3HGO8bk6f049Y3kVNRXMxyTVzwa1ur4yXdxYc0iT69SiUZ9nZYe3K2KIl6tra dc4cnadg==; Received: from [2601:1c0:6280:3f0::64ea] (helo=smtpauth.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1krCoY-0002Rc-4o; Mon, 21 Dec 2020 04:28:55 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Weijie Yang , Seth Jennings , Seth Jennings , Andrew Morton , Dan Streetman , Vitaly Wool , linux-mm@kvack.org Subject: [PATCH] mm: zswap: clean up confusing comment Date: Sun, 20 Dec 2020 20:28:48 -0800 Message-Id: <20201221042848.13980-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Correct wording and change one duplicated word (it) to "it is". Fixes: 0ab0abcf5115 ("mm/zswap: refactor the get/put routines") Signed-off-by: Randy Dunlap Cc: Weijie Yang Cc: Seth Jennings Cc: Seth Jennings Cc: Andrew Morton Cc: Dan Streetman Cc: Vitaly Wool Cc: linux-mm@kvack.org --- mm/zswap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- linux-next-20201218.orig/mm/zswap.c +++ linux-next-20201218/mm/zswap.c @@ -1022,10 +1022,10 @@ static int zswap_writeback_entry(struct /* * if we get here due to ZSWAP_SWAPCACHE_EXIST - * a load may happening concurrently - * it is safe and okay to not free the entry + * a load may be happening concurrently. + * it is safe and okay to not free the entry. * if we free the entry in the following put - * it it either okay to return !0 + * it is also okay to return !0 */ fail: spin_lock(&tree->lock);