Re: [Libguestfs] [PATCH 09/13] syntax-check: fix prohibit_path_max_allocation check

2014-09-23 Thread Richard W.M. Jones
On Tue, Sep 23, 2014 at 04:00:54PM +0200, Pino Toscano wrote: > On Tuesday 23 September 2014 17:20:35 Hu Tao wrote: > > Signed-off-by: Hu Tao > > --- > > daemon/inotify.c | 12 +++- > > 1 file changed, 11 insertions(+), 1 deletion(-) > > While I'd personally get rid of PATH_MAX at all, I

Re: [Libguestfs] [PATCH 09/13] syntax-check: fix prohibit_path_max_allocation check

2014-09-23 Thread Pino Toscano
On Tuesday 23 September 2014 17:20:35 Hu Tao wrote: > Signed-off-by: Hu Tao > --- > daemon/inotify.c | 12 +++- > 1 file changed, 11 insertions(+), 1 deletion(-) While I'd personally get rid of PATH_MAX at all, I understand the Linux inotify implementation relies on it... > > diff --g

[Libguestfs] [PATCH 09/13] syntax-check: fix prohibit_path_max_allocation check

2014-09-23 Thread Hu Tao
Signed-off-by: Hu Tao --- daemon/inotify.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/daemon/inotify.c b/daemon/inotify.c index 36e5ede..b847b7d 100644 --- a/daemon/inotify.c +++ b/daemon/inotify.c @@ -309,7 +309,7 @@ do_inotify_files (void) unsigned int i