Message ID | 20240715130534.2112678-4-shikemeng@huaweicloud.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11443C3DA59 for <linux-mm@archiver.kernel.org>; Mon, 15 Jul 2024 13:07:57 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 750716B00A7; Mon, 15 Jul 2024 09:07:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6D4E96B00AA; Mon, 15 Jul 2024 09:07:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 528AD6B00A9; Mon, 15 Jul 2024 09:07:57 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 2EDB06B00A4 for <linux-mm@kvack.org>; Mon, 15 Jul 2024 09:07:57 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id C498C1415C3 for <linux-mm@kvack.org>; Mon, 15 Jul 2024 13:07:56 +0000 (UTC) X-FDA: 82342014552.05.BB55111 Received: from dggsgout12.his.huawei.com (dggsgout12.his.huawei.com [45.249.212.56]) by imf14.hostedemail.com (Postfix) with ESMTP id 0D50F10001C for <linux-mm@kvack.org>; Mon, 15 Jul 2024 13:07:53 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf14.hostedemail.com: domain of shikemeng@huaweicloud.com designates 45.249.212.56 as permitted sender) smtp.mailfrom=shikemeng@huaweicloud.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1721048833; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UNZjcRWWNHXfmFdQ8lLBxxCk8lkn9oiuXVBZb3iyXoI=; b=hdnLgVBn+VTGsSGI56KAZCg7pfkL6jD9uSlkR62G8QefoWUmKngRRvpeQ0C9shEQ7/f71m iPBEMeD73O+Im4Zkq0jHZlGq1R+D8WGMdC3HsJ9Fh60ZindTaDJuv9a5AkBYIaNE02aJiq 1CZOkWGzl8NFhw+58Piba2zFFV8CIp4= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1721048833; a=rsa-sha256; cv=none; b=gmGifxaGm3dqsromSOTu1cWGYkNk33NVUNQP1wAGqJzeCtMyEntTCxMiAvBiY3bQDTFpWT u7OiTMqifmT/HwAClyYO6YlHGz7+NLhv1teo9lUBosRY9rYjBKNCmaFi6y8j5JhEEvgEM7 ZIwxXFvi0j/XMEaWA/PHbIK9UsQdoto= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf14.hostedemail.com: domain of shikemeng@huaweicloud.com designates 45.249.212.56 as permitted sender) smtp.mailfrom=shikemeng@huaweicloud.com Received: from mail.maildlp.com (unknown [172.19.163.235]) by dggsgout12.his.huawei.com (SkyGuard) with ESMTP id 4WN2YN736wz4f3jJC for <linux-mm@kvack.org>; Mon, 15 Jul 2024 21:07:36 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.128]) by mail.maildlp.com (Postfix) with ESMTP id E19D41A0572 for <linux-mm@kvack.org>; Mon, 15 Jul 2024 21:07:48 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.124.27]) by APP4 (Coremail) with SMTP id gCh0CgBHKzkhH5VmjCPSAA--.61776S5; Mon, 15 Jul 2024 21:07:48 +0800 (CST) From: Kemeng Shi <shikemeng@huaweicloud.com> To: jack@suse.com Cc: mark@fasheh.com, jlbec@evilplan.org, joseph.qi@linux.alibaba.com, hughd@google.com, akpm@linux-foundation.org, ocfs2-devel@lists.linux.dev, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 3/4] quota: remove redundant return at end of void function Date: Mon, 15 Jul 2024 21:05:33 +0800 Message-Id: <20240715130534.2112678-4-shikemeng@huaweicloud.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20240715130534.2112678-1-shikemeng@huaweicloud.com> References: <20240715130534.2112678-1-shikemeng@huaweicloud.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgBHKzkhH5VmjCPSAA--.61776S5 X-Coremail-Antispam: 1UD129KBjvdXoWrury3ZryfXr4rur1fCF4xtFb_yoWDJFX_Cr yfu34Fyr4Ut3Z3tFWUtr4rJwnaqws8Cw1UXF47t3W3Gw1rtrW8Ar1qvwn3JryDJ347C3y3 CrW8CrsrGFWrKjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbTkYFVCjjxCrM7AC8VAFwI0_Wr0E3s1l1xkIjI8I6I8E6xAIw20E Y4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l82xGYIkIc2x26280x7IE14v26r1rM2 8IrcIa0xkI8VCY1x0267AKxVW5JVCq3wA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK 021l84ACjcxK6xIIjxv20xvE14v26ryj6F1UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r 4UJVWxJr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_ GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx 0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWU JVW8JwACjcxG0xvY0x0EwIxGrwCY1x0262kKe7AKxVWUtVW8ZwCF04k20xvY0x0EwIxGrw CFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE 14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2 IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxK x2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI 0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07UACztUUUUU= X-CM-SenderInfo: 5vklyvpphqwq5kxd4v5lfo033gof0z/ X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 0D50F10001C X-Stat-Signature: qrgfs9zyeero8hdpnfn9esdq31kxuyud X-Rspam-User: X-HE-Tag: 1721048873-254338 X-HE-Meta: U2FsdGVkX18dBDHCtY04JZVRo8RaapUbH0szqnJGAP4Buq9ciCI6ZM8cESF4IhMjGX3WtcxIN75plH2hrZUifOKOmbGHQOVADH3+GcyFtTE+0lF4ZgC3e5/H7lqFPI42NvEYul7G5qKLdY8D2PE2oRUpett6gpGg+3y3NTGG/LXbt8KKuAwzEElqjeVYacqRS4HmW096X3sG7jBrLVJo9iJ3xRWLQmTIA0Vv3Qrf48NXabqsheq1IkFP299PvYUH4gyg/Azn6e5AE0ZVaYX+z/9FCajQ8WR/V8kiSlOMh+ibhCl/oGByaO0tRIqzXl4TXioE6oACJ2SEu+oogkB3gI8/ewWrWbVf3OssxAy2TKKVdcUgiEvwKzyym8g1SxXqhjp6i/GSVOYHqyqYKm9sy4Q2KLQwMOvq72lQkIHxZILuk3zrM7Sc817qtMEj1Cv2CuUP99FyfTFUHOm9VSXsk8+6fDT+9MmsgCeUNUMwSoliCDNlut308InjoVAaPjjh1pLEk5O0ibocYW7+Q0wSiDCX/HGLWxKiF5vq0z1VxssOqa66quNY/kBgBPYy+EPjV/f70SYRHefOE9xwfybayveYQ0iTmg/dNj2BaQeIGcbdXa6qrrkJKs682Txd1Bfaq+8m7gXbX5Q0jchXMw+COg/V7P+Vxych7bK5zQKGa/FDhjQh2sU78mfLqATb4jEkT6qvbKfwBqzeRrAddTBxuXD4fAYy7dxskxwpJnBgL+7GeWHO6g6r3D1ukbP2DtVAiq1sMLihYxZUDOLVM51Zis+YSq5Kcn0rdRwpU+KObjRU67rhwJHw2WH7fw+2e3Xlz+am5ZFZ3Nc+XXAyt9jzUcLy+kp0U+sOwzmHF4QwfwSDTfHXB4eB7V3Ghd4hOWrYdZKDIY/V5zrbA/nKGqgHermX5d/5mXZnz5jmJiCcMOlfhsnM2KtO+dGC3lIaxYlTJFpwvqwHn6agRqtAGFF s39ON1if WqtJjMn2OXTj3FGATdqf0jy2DqzYwYbkfJmq9OTeBjs58oU/D/w5/4NVfWrLtT+8+8ERkzA2nHaok+O382QlvsGR6Q++ag4TmGkmR1L/gKgCcFREljN7TARFkTCZXGzl7Ano7SvosznV09j2JDKUVNIJTLyy7z+CiKCnMSs1/ORUhes4= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Fix and cleanups to quota
|
expand
|
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c index a08a71890cd8..2ca1f16689de 100644 --- a/fs/quota/dquot.c +++ b/fs/quota/dquot.c @@ -1830,7 +1830,6 @@ void dquot_claim_space_nodirty(struct inode *inode, qsize_t number) spin_unlock(&inode->i_lock); mark_all_dquot_dirty(dquots); srcu_read_unlock(&dquot_srcu, index); - return; } EXPORT_SYMBOL(dquot_claim_space_nodirty); @@ -1872,7 +1871,6 @@ void dquot_reclaim_space_nodirty(struct inode *inode, qsize_t number) spin_unlock(&inode->i_lock); mark_all_dquot_dirty(dquots); srcu_read_unlock(&dquot_srcu, index); - return; } EXPORT_SYMBOL(dquot_reclaim_space_nodirty);
Function dquot_claim_space_nodirty nad dquot_reclaim_space_nodirty have no return value, just remove redundant return at end of the functions. Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> --- fs/quota/dquot.c | 2 -- 1 file changed, 2 deletions(-)