History

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.

Trond Myklebust committed 7 years ago

Commit b72679e1 parent 18f66224 files · +10 −2Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/fsnotify_backend.h+2−0
@@ -475,6 +475,8 @@ extern void fsnotify_destroy_mark(struct fsnotify_mark *mark, · 474 unmodified lines
475475 extern void fsnotify_detach_mark(struct fsnotify_mark *mark);
476476 /* free mark */
477477 extern void fsnotify_free_mark(struct fsnotify_mark *mark);
478+/* Wait until all marks queued for destruction are destroyed */
479+extern void fsnotify_wait_marks_destroyed(void);
478480 /* run all the marks in a group, and clear all of the marks attached to given object type */
479481 extern void fsnotify_clear_marks_by_group(struct fsnotify_group *group, unsigned int type);
480482 /* run all the marks in a group, and clear all of the vfsmount marks */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t