Re: [PATCH 1/1] fallocate: create FAN_MODIFY and IN_MODIFY events

2014-10-14 Thread Andrew Morton
On Tue, 07 Oct 2014 20:24:02 +0200 Heinrich Schuchardt wrote: > Hello Andrew, > > the patch in > https://lkml.org/lkml/2014/10/3/56 > and cited below was reviewed by Jan Kara. > Jan wondered why we generate events for FALLOC_FL_KEEP_SIZE, so other people will wonder the same thing. We should

Re: [PATCH 1/1] fallocate: create FAN_MODIFY and IN_MODIFY events

2014-10-07 Thread Heinrich Schuchardt
Hello Andrew, the patch in https://lkml.org/lkml/2014/10/3/56 and cited below was reviewed by Jan Kara. Please, add it to the MM tree. Best regards Heinrich Schuchardt On 07.10.2014 20:05, Jan Kara wrote: On Mon 06-10-14 21:10:25, Heinrich Schuchardt wrote: On 06.10.2014 16:12, Jan Kara wro

Re: [PATCH 1/1] fallocate: create FAN_MODIFY and IN_MODIFY events

2014-10-07 Thread Jan Kara
On Mon 06-10-14 21:10:25, Heinrich Schuchardt wrote: > On 06.10.2014 16:12, Jan Kara wrote: > >On Fri 03-10-14 10:19:30, Heinrich Schuchardt wrote: > >>The fanotify and the inotify API can used to monitor changes of the file > >>system. > >> > >>System call fallocate modifies files. Hence it should

Re: [PATCH 1/1] fallocate: create FAN_MODIFY and IN_MODIFY events

2014-10-06 Thread Heinrich Schuchardt
On 06.10.2014 16:12, Jan Kara wrote: On Fri 03-10-14 10:19:30, Heinrich Schuchardt wrote: The fanotify and the inotify API can used to monitor changes of the file system. System call fallocate modifies files. Hence it should trigger the corresponding fanotify (FAN_MODIFY) and inotify (IN_MODIFY

Re: [PATCH 1/1] fallocate: create FAN_MODIFY and IN_MODIFY events

2014-10-06 Thread Jan Kara
On Fri 03-10-14 10:19:30, Heinrich Schuchardt wrote: > The fanotify and the inotify API can used to monitor changes of the file > system. > > System call fallocate modifies files. Hence it should trigger the > corresponding > fanotify (FAN_MODIFY) and inotify (IN_MODIFY) events. > > This patch a

[PATCH 1/1] fallocate: create FAN_MODIFY and IN_MODIFY events

2014-10-03 Thread Heinrich Schuchardt
The fanotify and the inotify API can used to monitor changes of the file system. System call fallocate modifies files. Hence it should trigger the corresponding fanotify (FAN_MODIFY) and inotify (IN_MODIFY) events. This patch adds the missing call to fsnotify_modify. Signed-off-by: Heinrich Schu