Skip to content
Commit b962e731 authored by Brian Rogers's avatar Brian Rogers Committed by Eric Paris
Browse files

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 0db501bd where
my system wouldn't finish booting because some process was being confused by
this.

Signed-off-by: default avatarBrian Rogers <brian@xyzw.org>
Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent 326ba501
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment