[Ocfs2-devel] [PATCH] OCFS2: remove FS_OCFS2_NM

Joseph Qi
2020-01-26T01:35:06Z

On 20/1/21 11:36, Alex Shi wrote:
> This macro is't used from commit ab09203e302b ("sysctl fs: Remove
> dead binary sysctl support"). Better to remove it.
>
> Signed-off-by: Alex Shi <alex.shi at linux.alibaba.com>
> Cc: Mark Fasheh
> Cc: Joel Becker <jlbec at evilplan.org>
> Cc: Joseph Qi <joseph.qi at linux.alibaba.com>
> Cc: ocfs2-devel at oss.oracle.com
> Cc: linux-kernel at vger.kernel.org

Acked-by: Joseph Qi <joseph.qi at
linux.alibaba.com>
> ---
>  fs/ocfs2/stackglue.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/fs/ocfs2/stackglue.c b/fs/ocfs2/stackglue.c
> index 8aa6a667860c..a191094694c6 100644
> --- a/fs/ocfs2/stackglue.c
> +++ b/fs/ocfs2/stackglue.c
> @@ -656,8 +656,6 @@ static int ocfs2_sysfs_init(void)
>   * and easier to preserve the name.
>   */
>
> -#define FS_OCFS2_NM		1
> -
>  static struct ctl_table ocfs2_nm_table[] = {
>  	{
>  		.procname	= "hb_ctl_path",
>