[RFC PATCH] configfd: configfd_context_fops can be static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes: 74148c8fa2fc ("configfd: add generic file descriptor based configuration parser")
Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
 configfd.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/configfd.c b/fs/configfd.c
index 7f2c750ac7e30..a0ca741718704 100644
--- a/fs/configfd.c
+++ b/fs/configfd.c
@@ -50,7 +50,7 @@ static int configfd_release(struct inode *inode, struct file *file)
 	return 0;
 }
 
-const struct file_operations configfd_context_fops = {
+static const struct file_operations configfd_context_fops = {
 	.read		= configfd_read,
 	.release	= configfd_release,
 	.llseek		= no_llseek,
@@ -93,8 +93,8 @@ static struct configfd_type *configfd_type_get(const char *name)
 	return cft;
 }
 
-struct configfd_context *configfd_context_alloc(const struct configfd_type *cft,
-						unsigned int op)
+static struct configfd_context *configfd_context_alloc(const struct configfd_type *cft,
+						       unsigned int op)
 {
 	struct configfd_context *cfc;
 	struct logger *log;



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux