]> Git Repo - linux.git/commit - fs/notify/mark.c
fsnotify: Make fsnotify_mark_connector hold inode reference
authorJan Kara <[email protected]>
Tue, 14 Mar 2017 13:48:00 +0000 (14:48 +0100)
committerJan Kara <[email protected]>
Mon, 10 Apr 2017 15:37:35 +0000 (17:37 +0200)
commite911d8af87dba7642138f4320ca3db80629989f2
treef6023831e4d1eae4e99bc4e389012ec70b897b45
parent86ffe245c430f07f95d5d28d3b694ea72f4492e7
fsnotify: Make fsnotify_mark_connector hold inode reference

Currently inode reference is held by fsnotify marks. Change the rules so
that inode reference is held by fsnotify_mark_connector structure
whenever the list is non-empty. This simplifies the code and is more
logical.

Reviewed-by: Miklos Szeredi <[email protected]>
Reviewed-by: Amir Goldstein <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
fs/notify/fsnotify.h
fs/notify/inode_mark.c
fs/notify/mark.c
include/linux/fsnotify_backend.h
This page took 0.055763 seconds and 4 git commands to generate.