[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTin_Ta-Fj2sd+jLSYTaOb0KOpaKdDv5B+2-tTEyG@mail.gmail.com>
Date: Fri, 26 Nov 2010 10:01:30 +0300
From: Alexey Zaytsev <alexey.zaytsev@...il.com>
To: Eric Paris <eparis@...hat.com>
Cc: Scott Hassan <hassan@...funk.com>, Jan Kara <jack@...e.cz>,
agruen@...bit.com, linux-kernel@...r.kernel.org,
stefan@...ttcher.org, Al Viro <viro@...iv.linux.org.uk>,
linux-fsdevel@...r.kernel.org,
Tvrtko Ursulin <tvrtko.ursulin@...hos.com>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH 1/4] fanotify: Shrink struct fanotify_event_metadata by 32 bits
Hi, Eric. Sorry for the noise, but could you please comment at this
one? Because if it goes, it needs to go soon, before the .37 release,
or we won't be able change the ABI.
The other patches in the series are clearly not .37 material, so no
problem if you can't look at them right now.
On Mon, Nov 22, 2010 at 03:33, Alexey Zaytsev <alexey.zaytsev@...il.com> wrote:
> And this saves additional 32 bits in the future
>
> Signed-off-by: Alexey Zaytsev <alexey.zaytsev@...il.com>
> ---
> include/linux/fanotify.h | 7 ++++---
> 1 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/include/linux/fanotify.h b/include/linux/fanotify.h
> index 0f01214..9a7986f 100644
> --- a/include/linux/fanotify.h
> +++ b/include/linux/fanotify.h
> @@ -86,10 +86,11 @@
> #define FANOTIFY_METADATA_VERSION 2
>
> struct fanotify_event_metadata {
> - __u32 event_len;
> - __u32 vers;
> - __aligned_u64 mask;
> + __u16 event_len;
> + __u8 vers;
> + __u8 reserved;
> __s32 fd;
> + __aligned_u64 mask;
> __s32 pid;
> };
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists