summaryrefslogtreecommitdiffstats
path: root/fs/notify/inotify/inotify_fsnotify.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-12-09 09:38:55 +0100
committerJan Kara <jack@suse.cz>2017-04-03 16:56:34 +0200
commit25c829afbd74fb9594d2351d9e41be05bacb9903 (patch)
treefd1e6fb8937bcba7332955006d211c7aad314d1c /fs/notify/inotify/inotify_fsnotify.c
parent5198adf649a0b7b0f9ddb98b264e57b41516116b (diff)
downloadop-kernel-dev-25c829afbd74fb9594d2351d9e41be05bacb9903.zip
op-kernel-dev-25c829afbd74fb9594d2351d9e41be05bacb9903.tar.gz
inotify: Remove inode pointers from debug messages
Printing inode pointers in warnings has dubious value and with future changes we won't be able to easily get them without either locking or chances we oops along the way. So just remove inode pointers from the warning messages. Reviewed-by: Miklos Szeredi <mszeredi@redhat.com> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/notify/inotify/inotify_fsnotify.c')
-rw-r--r--fs/notify/inotify/inotify_fsnotify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/notify/inotify/inotify_fsnotify.c b/fs/notify/inotify/inotify_fsnotify.c
index 1aeb837..f310d83 100644
--- a/fs/notify/inotify/inotify_fsnotify.c
+++ b/fs/notify/inotify/inotify_fsnotify.c
@@ -156,8 +156,8 @@ static int idr_callback(int id, void *p, void *data)
* BUG() that was here.
*/
if (fsn_mark)
- printk(KERN_WARNING "fsn_mark->group=%p inode=%p wd=%d\n",
- fsn_mark->group, fsn_mark->inode, i_mark->wd);
+ printk(KERN_WARNING "fsn_mark->group=%p wd=%d\n",
+ fsn_mark->group, i_mark->wd);
return 0;
}
OpenPOWER on IntegriCloud