Fsnotify cleanup - part 2
Get series with b4
b4 am [email protected]Versions newest first
- v4 Latest5 patches 4 repliesIn review
Changes in v4 from the cover letter
- 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
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | fsnotify: use typedef fsnotify_connp_t for brevityfs/ fs/ include/ | +15 | 3 replies | |
| 2/5 | fsnotify: pass connp and object type to fsnotify_add_mark()fs/ fs/ fs/ +1 more | +52 | 0 replies | |
| 3/5 | fsnotify: let connector point to an abstract objectfs/ fs/ fs/ +2 more | +45 | 0 replies | |
| 4/5 | fsnotify: add helper to get mask from connectorfs/ fs/ include/ | +31 | 0 replies | |
| 5/5 | fanotify: factor out helpers to add/remove markfs/ | +29 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/5] Fsnotify cleanup - part 2
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(-)
Signature · 1 line
2.7.4