fanotify: fill in the metadata_len field on struct fanotify_event_metadata
authorEric Paris <eparis@redhat.com>
Tue, 7 Dec 2010 20:27:57 +0000 (15:27 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 15 Dec 2010 18:58:18 +0000 (13:58 -0500)
commit7d13162332f2b67a941d18cee20f1c0413e020de
treea9e40f802579e750fbf75e025e9cee7c760ca558
parent62731fa0c893515dc6cbc3e0a2879a92793c735f
fanotify: fill in the metadata_len field on struct fanotify_event_metadata

The fanotify_event_metadata now has a field which is supposed to
indicate the length of the metadata portion of the event.  Fill in that
field as well.

Based-in-part-on-patch-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fanotify/fanotify_user.c