[PATCH 2/3] kernfs: make kernfs_notify() trigger inotify events too

2014-04-14 Thread Tejun Heo
kernfs_notify() is used to indicate either new data is available or the content of a file has changed. It currently only triggers poll which may not be the most convenient to monitor especially when there are a lot to monitor. Let's hook it up to fsnotify too so that the events can be monitored v

[PATCH 2/3] kernfs: make kernfs_notify() trigger inotify events too

2014-04-09 Thread Tejun Heo
kernfs_notify() is used to indicate either new data is available or the content of a file has changed. It currently only triggers poll which may not be the most convenient to monitor especially when there are a lot to monitor. Let's hook it up to fsnotify too so that the events can be monitored v