diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2019-08-18 14:18:46 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-08-19 11:00:39 -0400 |
commit | b72679ee89a0a0ecd26f7b6fcae96cdaababff94 (patch) | |
tree | af6192a502080a5e7a3bb834ca0dd469a151521c /include | |
parent | 18f6622ebbdea56a83f8e553c159ce2d62d3ad0c (diff) | |
download | linux-stable-b72679ee89a0a0ecd26f7b6fcae96cdaababff94.tar.gz linux-stable-b72679ee89a0a0ecd26f7b6fcae96cdaababff94.tar.bz2 linux-stable-b72679ee89a0a0ecd26f7b6fcae96cdaababff94.zip |
notify: export symbols for use by the knfsd file cache
The knfsd file cache will need to detect when files are unlinked, so that
it can close the associated cached files. Export a minimal set of notifier
functions to allow it to do so.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fsnotify_backend.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h index 2de3b2ddd19a..1915bdba2fad 100644 --- a/include/linux/fsnotify_backend.h +++ b/include/linux/fsnotify_backend.h @@ -475,6 +475,8 @@ extern void fsnotify_destroy_mark(struct fsnotify_mark *mark, extern void fsnotify_detach_mark(struct fsnotify_mark *mark); /* free mark */ extern void fsnotify_free_mark(struct fsnotify_mark *mark); +/* Wait until all marks queued for destruction are destroyed */ +extern void fsnotify_wait_marks_destroyed(void); /* run all the marks in a group, and clear all of the marks attached to given object type */ extern void fsnotify_clear_marks_by_group(struct fsnotify_group *group, unsigned int type); /* run all the marks in a group, and clear all of the vfsmount marks */ |