From: James Hogan <james@albanarts.com>
To: Marco Stornelli <marco.stornelli@gmail.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
Linux Embedded <linux-embedded@vger.kernel.org>,
Linux FS Devel <linux-fsdevel@vger.kernel.org>,
Tim Bird <tim.bird@am.sony.com>
Subject: Re: [PATCH 12/16] pramfs: extended attributes
Date: Sat, 6 Nov 2010 11:57:28 +0000 [thread overview]
Message-ID: <20101106115728.GA13522@gandalf.local> (raw)
In-Reply-To: <4CB1EB15.9040109@gmail.com>
Hi Marco,
On Sun, Oct 10, 2010 at 06:34:29PM +0200, Marco Stornelli wrote:
> From: Marco Stornelli <marco.stornelli@gmail.com>
> diff -Nurp linux-2.6.36-orig/fs/pramfs/xattr.h linux-2.6.36/fs/pramfs/xattr.h
> --- linux-2.6.36-orig/fs/pramfs/xattr.h 1970-01-01 01:00:00.000000000 +0100
> +++ linux-2.6.36/fs/pramfs/xattr.h 2010-09-18 08:40:35.000000000 +0200
> @@ -0,0 +1,134 @@
> +/*
> + * FILE NAME fs/pramfs/xattr.h
> + *
> + * BRIEF DESCRIPTION
> + *
> + * Extended attributes for the pram filesystem.
> + *
> + * Copyright 2010 Marco Stornelli <marco.stornelli@gmail.com>
> + *
> + * based on fs/ext2/xattr.h with the following copyright:
> + *
> + *(C) 2001 Andreas Gruenbacher, <a.gruenbacher@computer.org>
> + *
> + * This file is licensed under the terms of the GNU General Public
> + * License version 2. This program is licensed "as is" without any
> + * warranty of any kind, whether express or implied.
> + */
> +
> +#include <linux/init.h>
> +#include <linux/xattr.h>
> +
> +/* Magic value in attribute blocks */
> +#define PRAM_XATTR_MAGIC 0x6d617270
> +
> +/* Maximum number of references to one attribute block */
> +#define PRAM_XATTR_REFCOUNT_MAX 1024
> +
> +/* Name indexes */
> +#define PRAM_XATTR_INDEX_USER 1
> +#define PRAM_XATTR_INDEX_POSIX_ACL_ACCESS 2
> +#define PRAM_XATTR_INDEX_POSIX_ACL_DEFAULT 3
> +#define PRAM_XATTR_INDEX_TRUSTED 4
> +#define PRAM_XATTR_INDEX_LUSTRE 5
> +#define PRAM_XATTR_INDEX_SECURITY 6
Maybe nobody minds, but there's some inconsistent whitespace here.
Cheers
James
prev parent reply other threads:[~2010-11-06 11:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-10 16:34 [PATCH 12/16] pramfs: extended attributes Marco Stornelli
2010-11-06 11:57 ` James Hogan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101106115728.GA13522@gandalf.local \
--to=james@albanarts.com \
--cc=linux-embedded@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marco.stornelli@gmail.com \
--cc=tim.bird@am.sony.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).