Skip to contentSkip to conversation

OCFS2: remove FS_OCFS2_NM

PATCH Applied Alex Shi 2 participants 2 messages Jan 21, 2020 – Jan 26, 2020 OCFS2

lore
Share & tools
lore

Alex Shi

author
#0 lore raw

PATCH 1/1 OCFS2: remove FS_OCFS2_NM

This macro is't used from commit ab09203e302b ("sysctl fs: Remove dead binary sysctl support"). Better to remove it.

---
 fs/ocfs2/stackglue.c | 2 --
 1 file changed, 2 deletions(-)
fs/ocfs2/stackglue.c +0 -2
index 8aa6a667860c..a191094694c6 100644
@@ -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",
Signature · 1 line
1.8.3.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Alex Shi

This macro is't used from commit ab09203e302b ("sysctl fs: Remove dead binary sysctl support"). Better to remove it.

Cc Mark Fasheh <[email protected]>
Cc Joel Becker <[email protected]>
Cc Joseph Qi <[email protected]>
Cc ocfs2-devel at oss.oracle.com
Cc linux-kernel at vger.kernel.org
Quoted 18 lines
---
 fs/ocfs2/stackglue.c | 2 --
 1 file changed, 2 deletions(-)
fs/ocfs2/stackglue.c +0 -2
index 8aa6a667860c..a191094694c6 100644
@@ -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",