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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user