]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8ca7a44e5cce272692312c983d4cde3af03a13fc
treea9e40f802579e750fbf75e025e9cee7c760ca558
parentb911acf08935dbd944aa065e13ed9821cccb751c
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