fanotify: remove packed from access response message
authorEric Paris <eparis@redhat.com>
Mon, 8 Nov 2010 23:19:22 +0000 (18:19 -0500)
committerEric Paris <eparis@redhat.com>
Tue, 7 Dec 2010 21:14:20 +0000 (16:14 -0500)
Since fanotify has decided to be careful about alignment and packing
rather than rely on __attribute__((packed)) for multiarch support.
Since this attribute isn't doing anything on fanotify_response we just
drop it.  This does not break API/ABI.

Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@sophos.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
include/linux/fanotify.h

index 0f0121467fc4b8cf261cbb06a9ff6347b3596474..bdbf9bb29b54535cd565bf162b57097c0de1a51a 100644 (file)
@@ -96,7 +96,7 @@ struct fanotify_event_metadata {
 struct fanotify_response {
        __s32 fd;
        __u32 response;
-} __attribute__ ((packed));
+};
 
 /* Legit userspace responses to a _PERM event */
 #define FAN_ALLOW      0x01