From patchwork Mon May 11 17:58:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabian Frederick X-Patchwork-Id: 11541389 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 854B0913 for ; Mon, 11 May 2020 17:58:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 770A6206DD for ; Mon, 11 May 2020 17:58:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730938AbgEKR6k (ORCPT ); Mon, 11 May 2020 13:58:40 -0400 Received: from mailrelay107.isp.belgacom.be ([195.238.20.134]:58228 "EHLO mailrelay107.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727051AbgEKR6j (ORCPT ); Mon, 11 May 2020 13:58:39 -0400 IronPort-SDR: 0Av8QGXKfZtguUfz64MS58kRssI1YyQjMz3yJRf5Dlu/KqSPOCMaqlj11ygHsyiBgb+PRnrD/f 3dfDzlq1LsQJlbyFCAI2WISpPUWY6EUr8nxRk4j3Ui0lHadjyds6V1nrcT5zIuXEPEyVYv60XN kHjnbqCUxmmcexMzHgL9h3eFARfrSP3YJ52R7i4HKQbHgz/E4aaZPxGeMADAhAxJf7xZYtXUia gCzIgQ+LXvLxDFMfOm32lXHozQqtRl2D80UicD/B/IMG0jrbLTeoTTmEAXS3++JqE56+dZ242q uaM= X-Belgacom-Dynamic: yes IronPort-PHdr: 9a23:Gkl91RzOBOkotXrXCy+O+j09IxM/srCxBDY+r6Qd2u4eIJqq85mqBkHD//Il1AaPAdyGraMcwLOP6ejJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fc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Xws3L5/XzKQuBdn4VCrafcaPRUrgSNjwUmJ5dc4439JbOxU1IN6llB2Whyc= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2ClBAACkrle/xCltltmglCCKoFkEo1RhXqMGI9dgXsLAQEBAQEBAQEBNAECBAEBhESCDSc0CQ4CAwEBAQMCBQEBBgEBAQEBAQQEAWwEAQEHCgIBhE4hAQMBAQUKAUOCOyKDTQEjI09wgziCWCmwdIVRg1aBQIE4h12FAYFBP4RfikIEjkakJYJUgnGVKwwdnTqQHZ8kOYFWTSAYgyVPGA2fCkJnAgYIAQEDCVcBIgGOCAEB X-IPAS-Result: A2ClBAACkrle/xCltltmglCCKoFkEo1RhXqMGI9dgXsLAQEBAQEBAQEBNAECBAEBhESCDSc0CQ4CAwEBAQMCBQEBBgEBAQEBAQQEAWwEAQEHCgIBhE4hAQMBAQUKAUOCOyKDTQEjI09wgziCWCmwdIVRg1aBQIE4h12FAYFBP4RfikIEjkakJYJUgnGVKwwdnTqQHZ8kOYFWTSAYgyVPGA2fCkJnAgYIAQEDCVcBIgGOCAEB Received: from 16.165-182-91.adsl-dyn.isp.belgacom.be (HELO biggussolus.home) ([91.182.165.16]) by relay.skynet.be with ESMTP; 11 May 2020 19:58:16 +0200 From: Fabian Frederick To: jack@suse.cz, amir73il@gmail.com Cc: linux-fsdevel@vger.kernel.org, Fabian Frederick Subject: [PATCH 0/9 linux-next] fs/notify: cleanup Date: Mon, 11 May 2020 19:58:05 +0200 Message-Id: <20200511175805.214786-1-fabf@skynet.be> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org This small patchset does some cleanup in fs/notify branch especially in fanotify. Fabian Frederick (9): fanotify: prefix should_merge() fanotify: fanotify_encode_fid(): variable init notify: explicit shutdown initialization notify: add mutex destroy fanotify: remove reference to fill_event_metadata() fsnotify/fdinfo: remove proc_fs.h inclusion fanotify: don't write with zero size fanotify: clarify mark type extraction fsnotify: fsnotify_clear_marks_by_group() massage fs/notify/fanotify/fanotify.c | 11 ++++----- fs/notify/fanotify/fanotify_user.c | 5 +++- fs/notify/fdinfo.c | 1 - fs/notify/group.c | 2 ++ fs/notify/mark.c | 37 +++++++++++++++--------------- include/uapi/linux/fanotify.h | 7 +++++- 6 files changed, 35 insertions(+), 28 deletions(-)