From patchwork Tue Jul 31 10:25:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kirill Tkhai X-Patchwork-Id: 10550595 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E0CB41822 for ; Tue, 31 Jul 2018 10:25:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C83722A4C0 for ; Tue, 31 Jul 2018 10:25:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC2312A4D2; Tue, 31 Jul 2018 10:25:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3D502A4C0 for ; Tue, 31 Jul 2018 10:25:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731119AbeGaMFC (ORCPT ); Tue, 31 Jul 2018 08:05:02 -0400 Received: from mail-eopbgr20130.outbound.protection.outlook.com ([40.107.2.130]:51840 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727409AbeGaMFB (ORCPT ); Tue, 31 Jul 2018 08:05:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iWUcDDeNeLl3s28JewclHJBtNX+ViIDSJNecQ+pJEE0=; b=fkw4tFsbNe518d+2OGhECl+Fbh7FKPhYg4QHSkeao2EwDnOKYFGYiMxPG3LkebRDLts5pc9gLyu5FbXw/D2C6ry+YzBQ5Ag5/JFnwfM4afVNJxqrlM534BFSO+ihk8E2xy15l0BrXdx+VDCPNS0BOrMb9a2qSsRyPLfIoiQ365o= Received: from localhost.localdomain (185.231.240.5) by HE1PR0801MB2025.eurprd08.prod.outlook.com (2603:10a6:3:50::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.995.21; Tue, 31 Jul 2018 10:25:19 +0000 Subject: [PATCH 0/2] fuse: Small cleanup series From: Kirill Tkhai To: miklos@szeredi.hu, linux-fsdevel@vger.kernel.org, ktkhai@virtuozzo.com Date: Tue, 31 Jul 2018 13:25:15 +0300 Message-ID: <153303268481.387.10809229593975235816.stgit@localhost.localdomain> User-Agent: StGit/0.18 MIME-Version: 1.0 X-Originating-IP: [185.231.240.5] X-ClientProxiedBy: DB6P193CA0011.EURP193.PROD.OUTLOOK.COM (2603:10a6:6:29::21) To HE1PR0801MB2025.eurprd08.prod.outlook.com (2603:10a6:3:50::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 142014fa-ff20-4e93-2f9f-08d5f6cfea89 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:HE1PR0801MB2025; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0801MB2025;3:DWriMbGZEpUToIKTFjADGVUn2p2YoM/ANZg60HDaPfDqKpjCGMKhqTdaHYEsrdVdjSUREUL9zIfFrQa3riKxnyCR3krbx9bY41UpqXvbQAj2LDvuDNx8nwisn9tgYExDblV5szjgrwLZr4/A9qjXD7Ga16uH037/IY707ne1qs5NvzH8uuJ9gPqBb6ie/g/lKy5qPUwSYscB18IQ2916XXajuIBzsbCfQShYYlJ9s7AgygYkXT1GBxJK3VG192qu;25:XbsdrsbUr0nuhpJiuBv9RiAuEcKkSY0ZzYTvvzaMaznd2bMgE0l5RvBdl+gzfIQT57TnRkgOB9MQx5tvXnFCptN942RSWUZ/90K3DUFSHdljDaDIA2br+xUPc10ChAYX9Mgcw6iGkGYOJgAPnPptCmyX/PTIEqFZjHVnuBuCdERZFa50OcNSfzFdxr7G01sHhpNEwUK7GOVdpFXC8qV7L2G+LH2zMwXdADHAHdi/Lb7dXSHTB9jRrhXQqp7BqtTKowlYLusztcbeBGZK0FtioC0dYcq/XUbpbIEze8xYolgyv8uEfnHf7ZI58myaZT11v8vEmPrU/hozjVG5Kqmu6A==;31:3Vlnr+ikFjhQvhkA0uKWgSlXopgRGI9YF+pCWdxt/TdkoThYhkPXdrE7HxOfRNoA1JDd2Sxo3JhkRs86DSF5YpL5OUOBAraW7EpTgDCoTetBUvyvjJX9eY7AIWZOYzpXCDKSItgVFhT2Cv1t2t18RlMLsdksRGsGgIpbP1JtdUS46N1FjarmyQT7xpc+LJU71UCN7u7XuWmgnMHqpEtXHIT3GR3RvNWAD/WxEP35vEo= X-MS-TrafficTypeDiagnostic: HE1PR0801MB2025: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ktkhai@virtuozzo.com; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0801MB2025;20:SHv+X8y2PfBpPMoIgaYMgGTYttotRe3q3Oe+AdeAGBWgKUsQLBWMz/laD0k+v/YwF1kq2eafmCU8o4lGyW8XCCMLcUaqvHzWqmTzqNrdfdGcgibPssr/xKFCn63j0oqHrIafdZ7K9uaJfEcjZHBIJ1+9TytdNbM+gGFZe+irsxCwARva1SmIt2bQt/weRfBGkLF1rNs/tuZt1hqE+fcs504ji47JrZ/dfY9HV5pgoIiAzP4dsmXCSyVmieEPeQn9w4KcWfYhTGxP8REHoxuspmgqf6JJxes1fSnwAnGHXcjfT/qzaayg+ZJx1EjujpBJ0cM1T8iJ6lO+rdPTVzCr2JmqyGV1DPmiQhwK2lNprmJYskyUyy9L4uePkyElypAxruVixMDVQQ6Ujx5dg0vtRn6e1noZb4SsMT2/w12MkWYyh2NsM0Qs89m82a+ul6U8AAHQ/JSGU2ulYX318ognekiXA4wxAiY6HYoSrZPum0EjJxM+lY/oEkkk1lKQSbwo;4:38HaroS+Fq7CyRjFCIqQxQq3En9njGkzPSk8/Xdg8IFvLbDk57tRIW8Gjz+E0m4uJ5AwzGuu1vRevB+cRJc1KfnLGeX1mg4fHIBpH8ZZAotEXNmzrOjwLqbuT12GzGNdOwpXESIVxDU5vUZacRiKRgE4qQJJW10H1WLbo+2UR9Zi/TrKF9XxWyXP22WBqife0e7fL0AkgXqQGPhlQ09CaO26jCKSVjRwvVwXXJxE1vGdAvPIBNVOrDyM+70KJ9tI6cpLgFhcWgD00N6BHow+QA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(10201501046)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011)(7699016);SRVR:HE1PR0801MB2025;BCL:0;PCL:0;RULEID:;SRVR:HE1PR0801MB2025; X-Forefront-PRVS: 0750463DC9 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6069001)(376002)(346002)(39850400004)(366004)(396003)(136003)(189003)(199004)(26005)(33896004)(14444005)(186003)(2906002)(97736004)(386003)(6506007)(7696005)(478600001)(16526019)(7736002)(305945005)(53936002)(52116002)(8676002)(55016002)(81166006)(81156014)(61506002)(9686003)(558084003)(23676004)(8936002)(6116002)(25786009)(2486003)(3846002)(956004)(66066001)(486006)(476003)(47776003)(5660300001)(316002)(50466002)(86362001)(6666003)(105586002)(106356001)(58126008)(68736007)(230700001)(103116003);DIR:OUT;SFP:1102;SCL:1;SRVR:HE1PR0801MB2025;H:localhost.localdomain;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?q?1=3BHE1PR0801MB2025=3B23=3A4Fedt?= =?utf-8?q?XbKBRXUGjAKuvYMERi+8WYO3sS7ajEW40K07EMLVECg41it9Aq6YdChx/dILUFLi+?= =?utf-8?q?+PPH8DTDM5PiCQrrRZoYQHo6cnBkPtLybSixSCLW1hiAZ71RddtbVcAvTWpJzT6fl?= =?utf-8?q?oK/IJv18HGTCIT0hSSychYsa4oFZugvdKB8dq/ErYcrxxA4fUxxL+A9BsGG8Fdw4v?= =?utf-8?q?5JfQv928EvL/NspX0xWZuld0h2pbkmL2PyZFpmh35KxE9qhSid7Ao/CXNWGtYpf9y?= =?utf-8?q?96OPduelbDVyjaKKT+UmGoLbkniTsNWqVP4ZvXf6WhtfY4qSAYm+Du2UOOh5Xlln8?= =?utf-8?q?eGIfThfgwFPj17QModmuM3MDzefR4DbEnAxSZn+8NEPDnlwwRbBuvZCldkSH9MDKR?= =?utf-8?q?zAyeoYzfEgSLwN8tI3YHVRQB4iMBOoBx2A51s9A6D33YpqisVtm3YgANKVhRF4scl?= =?utf-8?q?cghUAauQqMSX1Pfao0k4UKS9h4+wARnlNX7cRDPQ2eieAoaRIXV94HMSlgSUWJ8gP?= =?utf-8?q?3ZUwK0Zw/Ek5kXAPLZMUszePd8cg2EBcnpDU0ItiuvhwTu2PxN4rxylkfpBNYqAV4?= =?utf-8?q?jwwCHO7ONwzTIqfAj5ddSNy6DxS2CJylCRXkeeKS4mVIqhvyZkNjoTgXh5QbfcHI8?= =?utf-8?q?5+ZWm8j8S+Bh91BNio62eTEJa4tbAMX/K6o2aqLDnlVFg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eUGqUi0gk6a3lBOYcYTFOPU= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2018 10:25:19.0630 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 142014fa-ff20-4e93-2f9f-08d5f6cfea89 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB2025 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is a small cleanup series without functional changes. --- Kirill Tkhai (2): fuse: Use list_first_entry() in flush_bg_queue() fuse: Move clear_bit() up in request_end() fs/fuse/dev.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- Signed-off-by: Kirill Tkhai