Re: [PATCH] fs: xattr: rewrite simple_xattr_set()

From: Carlos Maiolino
Date: Thu Oct 25 2012 - 13:04:46 EST


On Thu, Oct 25, 2012 at 11:26:14AM -0400, Aristeu Rozanski wrote:
> The way this function was written is confusing and already caused problems.
> Rewriting it to be easier to understand and maintain.
>
> Cc: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Li Zefan <lizefan@xxxxxxxxxx>
> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Aristeu Rozanski <aris@xxxxxxxxxx>
>
> ---
> fs/xattr.c | 124 +++++++++++++++++++++++++++++++++++++------------------------
> 1 file changed, 76 insertions(+), 48 deletions(-)
>
> Index: github/fs/xattr.c
> ===================================================================
> --- github.orig/fs/xattr.c 2012-10-23 16:02:41.155857391 -0400
> +++ github/fs/xattr.c 2012-10-25 11:17:15.118197552 -0400
> @@ -842,55 +842,46 @@
> return ret;
> }
>

Looks good to me

Reviewed-by: Carlos Maiolino <cmaiolino@xxxxxxxxxx>
--
--Carlos
--
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/