From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f194.google.com ([209.85.128.194]:44543 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751449AbeFWOxU (ORCPT ); Sat, 23 Jun 2018 10:53:20 -0400 Received: by mail-wr0-f194.google.com with SMTP id p12-v6so7728421wrn.11 for ; Sat, 23 Jun 2018 07:53:20 -0700 (PDT) From: Amir Goldstein To: Jan Kara Cc: linux-fsdevel@vger.kernel.org Subject: [PATCH v4 0/5] Fsnotify cleanup - part 2 Date: Sat, 23 Jun 2018 17:54:46 +0300 Message-Id: <1529765691-25170-1-git-send-email-amir73il@gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Jan, This is the part of the series that was not merged to v4.18-rc1, after addressing Linus' concerns. We already had several review cycles on the branch in my tree since v3, but this is 4th official posting. Note that per your request, I changed fsnotify_obj_{inode,mount} to fsnotify_conn_{inode,mount}, but that was easier to do after the patch that introduces obj->conn, so the helpers fsnotify_obj_{inode,mount} are added and then modified. Thanks, Amir. Changes since v3: - Some cleanup patches already merged to v4.18-rc1 - Replace struct fsnotify_obj with fsnotify_connp_t type - Leave explicit connector pointer in struct inode (Linus) - Use helper to get mask from any connector type Amir Goldstein (5): fsnotify: use typedef fsnotify_connp_t for brevity fsnotify: pass connp and object type to fsnotify_add_mark() fsnotify: let connector point to an abstract object fsnotify: add helper to get mask from connector fanotify: factor out helpers to add/remove mark fs/notify/fanotify/fanotify_user.c | 99 +++++++++++++---------------------- fs/notify/fdinfo.c | 8 +-- fs/notify/fsnotify.h | 16 +++++- fs/notify/mark.c | 103 ++++++++++++++++++++----------------- include/linux/fsnotify_backend.h | 40 +++++++++----- kernel/audit_tree.c | 17 +++--- 6 files changed, 147 insertions(+), 136 deletions(-) -- 2.7.4