diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2019-08-18 21:18:46 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-08-19 18:00:39 +0300 |
commit | b72679ee89a0a0ecd26f7b6fcae96cdaababff94 (patch) | |
tree | af6192a502080a5e7a3bb834ca0dd469a151521c /fs/notify/group.c | |
parent | 18f6622ebbdea56a83f8e553c159ce2d62d3ad0c (diff) | |
download | linux-b72679ee89a0a0ecd26f7b6fcae96cdaababff94.tar.xz |
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 'fs/notify/group.c')
-rw-r--r-- | fs/notify/group.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/notify/group.c b/fs/notify/group.c index 0391190305cc..133f723aca07 100644 --- a/fs/notify/group.c +++ b/fs/notify/group.c @@ -108,6 +108,7 @@ void fsnotify_put_group(struct fsnotify_group *group) if (refcount_dec_and_test(&group->refcnt)) fsnotify_final_destroy_group(group); } +EXPORT_SYMBOL_GPL(fsnotify_put_group); /* * Create a new fsnotify_group and hold a reference for the group returned. @@ -137,6 +138,7 @@ struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops) return group; } +EXPORT_SYMBOL_GPL(fsnotify_alloc_group); int fsnotify_fasync(int fd, struct file *file, int on) { |