From: Brian Rogers Date: Fri, 28 Aug 2009 14:00:05 +0000 (-0400) Subject: inotify: do not send a block of zeros when no pathname is available X-Git-Tag: v2.6.31-rc9~34^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b962e7312ae87006aed6f68ceee94bdf8db08338;p=pandora-kernel.git inotify: do not send a block of zeros when no pathname is available When an event has no pathname, there's no need to pad it with a null byte and therefore generate an inotify_event sized block of zeros. This fixes a regression introduced by commit 0db501bd0610ee0c0aca84d927f90bcccd09e2bd where my system wouldn't finish booting because some process was being confused by this. Signed-off-by: Brian Rogers Signed-off-by: Eric Paris --- Reading git-diff-tree failed