Re: [PATCH 2/4] Constify struct kset_uevent_ops for2.6.32-git-053fe57ac v2

From: Steven Whitehouse
Date: Mon Dec 14 2009 - 05:20:50 EST


On Mon, 2009-12-14 at 01:00 +0100, re.emese@xxxxxxxxx wrote:
> From: Emese Revfy <re.emese@xxxxxxxxx>
>
>
> Signed-off-by: Emese Revfy <re.emese@xxxxxxxxx>
Acked-by: Steven Whitehouse <swhiteho@xxxxxxxxxx>


Steve.

> ---
> fs/gfs2/sys.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c
> index c5dad1e..2d9b7ed 100644
> --- a/fs/gfs2/sys.c
> +++ b/fs/gfs2/sys.c
> @@ -586,7 +586,7 @@ static int gfs2_uevent(struct kset *kset, struct kobject *kobj,
> return 0;
> }
>
> -static struct kset_uevent_ops gfs2_uevent_ops = {
> +static const struct kset_uevent_ops gfs2_uevent_ops = {
> .uevent = gfs2_uevent,
> };
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/