From: Miklos Szeredi Date: Thu, 12 Jan 2012 11:41:36 +0000 (+0100) Subject: vfs: remove printk from set_nlink() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=424a5334a5235c2fbb80090b18a065eeceb51d64;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git vfs: remove printk from set_nlink() Don't log a message for set_nlink(0). Signed-off-by: Miklos Szeredi Signed-off-by: Al Viro --- diff --git a/fs/inode.c b/fs/inode.c index 4fa4f0916af9..fb10d86ffad7 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -322,9 +322,6 @@ EXPORT_SYMBOL(clear_nlink); void set_nlink(struct inode *inode, unsigned int nlink) { if (!nlink) { - printk_ratelimited(KERN_INFO - "set_nlink() clearing i_nlink on %s inode %li\n", - inode->i_sb->s_type->name, inode->i_ino); clear_nlink(inode); } else { /* Yes, some filesystems do change nlink from zero to one */