[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7030eaa5-73b5-7aa3-3b7d-56a3519878b3@huawei.com>
Date: Mon, 25 Mar 2024 09:44:39 +0800
From: Zhihao Cheng <chengzhihao1@...wei.com>
To: <pascal.eberhard@...com>, Richard Weinberger <richard@....at>
CC: <linux-mtd@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ubifs: xattr: remove unused anonymous enum
在 2024/3/24 8:41, pascal.eberhard@...ified.se.com 写道:
> From: Pascal Eberhard <pascal.eberhard@...com>
>
> commit 2b88fc21cae9 ("ubifs: Switch to generic xattr handlers") removes
> usage of this anonymous enum. Delete the enum as well.
>
> Signed-off-by: Pascal Eberhard <pascal.eberhard@...com>
> ---
> fs/ubifs/xattr.c | 13 -------------
> 1 file changed, 13 deletions(-)
Reviewed-by: Zhihao Cheng <chengzhihao1@...wei.com>
>
> diff --git a/fs/ubifs/xattr.c b/fs/ubifs/xattr.c
> index 0847db521984..f0969519ad05 100644
> --- a/fs/ubifs/xattr.c
> +++ b/fs/ubifs/xattr.c
> @@ -48,19 +48,6 @@
> #include <linux/slab.h>
> #include <linux/xattr.h>
>
> -/*
> - * Extended attribute type constants.
> - *
> - * USER_XATTR: user extended attribute ("user.*")
> - * TRUSTED_XATTR: trusted extended attribute ("trusted.*)
> - * SECURITY_XATTR: security extended attribute ("security.*")
> - */
> -enum {
> - USER_XATTR,
> - TRUSTED_XATTR,
> - SECURITY_XATTR,
> -};
> -
> static const struct inode_operations empty_iops;
> static const struct file_operations empty_fops;
>
>
Powered by blists - more mailing lists