531dbaf561
Close operation on file should lead to IN_CLOSE_WRITE or IN_CLOSE_NOWRITE notifications. This commits adds the notification support. Notifying on close is a little bit trickier as a lower layer may not have the full file path after successful close and inode release. Calling notification before close is not a solution since close might not end successfully. The solution is to obtain and buffer the path before calling close and then pass the buffered path to the notify_close. This required the change in notify_close function arguments: filep is no longer required, path and oflags are passed instead. Signed-off-by: Michal Lenc <michallenc@seznam.cz> |
||
---|---|---|
.. | ||
Kconfig | ||
Make.defs | ||
inotify.c | ||
notify.h |