projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e161630
)
vfs: remove printk from set_nlink()
author
Miklos Szeredi
<mszeredi@suse.cz>
Thu, 12 Jan 2012 11:41:36 +0000
(12:41 +0100)
committer
Al 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
patch
|
blob
|
blame
|
history
diff --git
a/fs/inode.c
b/fs/inode.c
index 4fa4f0916af9047ef57d8db43315244d92fef427..fb10d86ffad70f8c4ded56ff664470d71f06dc48 100644
(file)
--- 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 */