[RFC PATCH] fs: namespaces_dentry_operations can be static
From: kernel test robot
Date: Wed Aug 05 2020 - 04:18:22 EST
Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
---
namespaces.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/proc/namespaces.c b/fs/proc/namespaces.c
index ab47e15556197..63f27f66a96a4 100644
--- a/fs/proc/namespaces.c
+++ b/fs/proc/namespaces.c
@@ -182,7 +182,7 @@ static int namespace_delete_dentry(const struct dentry *dentry)
return 0;
}
-const struct dentry_operations namespaces_dentry_operations = {
+static const struct dentry_operations namespaces_dentry_operations = {
.d_delete = namespace_delete_dentry,
};