[PATCH] procfs: Fix error message in proc_fill_super()

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

 



The error message in proc_fill_super() uses the old function name and does not
specify a printk facility.  Fix it.

Signed-off-by: Eric Biggers <ebiggers3@xxxxxxxxx>
---
 fs/proc/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/proc/inode.c b/fs/proc/inode.c
index 439ae688..6d14961 100644
--- a/fs/proc/inode.c
+++ b/fs/proc/inode.c
@@ -498,7 +498,7 @@ int proc_fill_super(struct super_block *s)
 	if (s->s_root)
 		return 0;
 
-	printk("proc_read_super: get root inode failed\n");
+	pr_err("proc_fill_super: get root inode failed\n");
 	pde_put(&proc_root);
 	return -ENOMEM;
 }
-- 
1.8.1.1

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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