vfs: remove printk from set_nlink()
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 12 Jan 2012 11:41:36 +0000 (12:41 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 17 Jan 2012 21:39:47 +0000 (16:39 -0500)
Don't log a message for set_nlink(0).

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/inode.c

index 4fa4f0916af9047ef57d8db43315244d92fef427..fb10d86ffad70f8c4ded56ff664470d71f06dc48 100644 (file)
@@ -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 */