Message ID | 20240112050005.4952-1-sensor1010@163.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-24297-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1909992dyi; Thu, 11 Jan 2024 21:01:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IES6DGQ5zkcvvIu8N7gHFDfWnwnKbmmlQuQjXcApQ+fpm4McCDtIm5gPPGzE+pfyQzL7A5d X-Received: by 2002:a17:90b:b04:b0:28b:f362:ca83 with SMTP id bf4-20020a17090b0b0400b0028bf362ca83mr723675pjb.88.1705035708758; Thu, 11 Jan 2024 21:01:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705035708; cv=none; d=google.com; s=arc-20160816; b=oBfEGrJEnfij1fa7xCqXBNJVXmdBk6vRKe/lgkcpdy4VgBism2BnYjHFyLUQW2r7jr 9plzQ6BH9PopgziKAWDpubb5eyUcaRjc2oyDLik8uGCRwFlgipAwpiEb8PqluFmGWPcg NipMCxEgRgg3PFopV5ueCacYSkTzFhnuTUl06A7NYucwDkypzeR0Y/9FfvIdsK8CogoS tHw4tjFXezjJo1z0nht9zQugUNTV9XoQWwSNvTKG7296uFZRmwZQZyM+gtYj/Yo43Zpg k/khmFx0SrzzWS2O9RNLrZYC4a9ny9Y6nfMZ5RRdFskkNtTPMonlEglHCl4WCPozjG0c jGSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=/NYM0Ugmi9mOXgsDU9vW/LSp9grSGNGvGGp9Ka4NfHY=; fh=ZPozMPVHuJQNWupTCtlBF7Bpwar8lI2JPF/kaYK9FYo=; b=LYAHt+iSUHOMxOWXLVsHSEjXEisqNl0iVwwYn05jVpKyZFIWBslxut6YkcOVYNgR00 YQ3s48HMl3aiArySHMU4ow4WD3qcTnTy6o97/fKGOQOc95oS/3TCNp7V7hDSmiOstdiP 712BFSgGa1DbmG6D0Zg71WDlOEcH0VzCJ2ppoEUdXSmMg1/d8XduvqMe8mszTgalsi8O 3i40Nzp757r4a0tRX4x+2O6VU0jiwQlyQ9dsTIlOCiO8TTkrOaqLkh4b1Z3sdPulahn2 6naUKe+C5PLvSL4WaYd4KLIVVsUQ5Y/XY2gliWEve5D2hpz6XVTBIvffCEDVBFDNQ/uA dSAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=mzhBGFgJ; spf=pass (google.com: domain of linux-kernel+bounces-24297-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24297-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i7-20020a17090adc0700b0028d4fc385cesi5114388pjv.121.2024.01.11.21.01.48 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 21:01:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24297-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=mzhBGFgJ; spf=pass (google.com: domain of linux-kernel+bounces-24297-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24297-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8DC22283560 for <ouuuleilei@gmail.com>; Fri, 12 Jan 2024 05:01:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 010405B5CE; Fri, 12 Jan 2024 05:01:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="mzhBGFgJ" Received: from m15.mail.163.com (m15.mail.163.com [45.254.50.220]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4F0685B5B5 for <linux-kernel@vger.kernel.org>; Fri, 12 Jan 2024 05:01:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=/NYM0 Ugmi9mOXgsDU9vW/LSp9grSGNGvGGp9Ka4NfHY=; b=mzhBGFgJL6JvI8ncjQB7i gsn5Lyr+ZN2TKLBWFaFCurIyUq9VUo4JbpytpeSNyul/2GLjwR2PRw/mLquIa8Re tpoEgIQpfHqPjE2AnEeQ+cQZEQ6gW3t/WUcLMsyE/etY58HfdWiguwnQWkr/0s/y vYfzmg9z1n9ocDgHJGTPR0= Received: from localhost.localdomain (unknown [36.4.236.25]) by zwqz-smtp-mta-g2-1 (Coremail) with SMTP id _____wDnTxtWx6BlkUenAA--.40024S4; Fri, 12 Jan 2024 13:00:34 +0800 (CST) From: Lizhe <sensor1010@163.com> To: tglx@linutronix.de, ilpo.jarvinen@linux.intel.com, agk@redhat.com, snitzer@kernel.org, mpatocka@redhat.com Cc: dm-devel@lists.linux.dev, linux-kernel@vger.kernel.org, Lizhe <sensor1010@163.com> Subject: [PATCH] drivers/dm-crypt.c : remove redundant state settings after waking up Date: Thu, 11 Jan 2024 21:00:05 -0800 Message-Id: <20240112050005.4952-1-sensor1010@163.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _____wDnTxtWx6BlkUenAA--.40024S4 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjTRjNtxUUUUU X-CM-SenderInfo: 5vhq20jurqiii6rwjhhfrp/xtbBXhVjq2VOA8ircwAAs7 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787859523444832475 X-GMAIL-MSGID: 1787859523444832475 |
Series |
drivers/dm-crypt.c : remove redundant state settings after waking up
|
|
Commit Message
Lizhe
Jan. 12, 2024, 5 a.m. UTC
The task status has been set to TASK_RUNNING in schedule().
No need to set again here.
Signed-off-by: Lizhe <sensor1010@163.com>
---
drivers/md/dm-crypt.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c index 855b482cbff1..ab1e30630e64 100644 --- a/drivers/md/dm-crypt.c +++ b/drivers/md/dm-crypt.c @@ -1948,7 +1948,6 @@ static int dmcrypt_write(void *data) schedule(); - set_current_state(TASK_RUNNING); spin_lock_irq(&cc->write_thread_lock); goto continue_locked;