uprobes: Use file_inode()
authorOleg Nesterov <oleg@redhat.com>
Sun, 17 Mar 2013 17:54:44 +0000 (18:54 +0100)
committerOleg Nesterov <oleg@redhat.com>
Thu, 4 Apr 2013 11:57:03 +0000 (13:57 +0200)
commitf281769e81b49840f1857f6dfac049350e678350
tree325e53ee508463f95d2be119c9afa45fe3e45b5e
parentb847d0501afec4c7b12eb276aec10a2834f953ea
uprobes: Use file_inode()

Cleanup. Now that we have f_inode/file_inode() we can use it instead
of vm_file->f_mapping->host.

This should not make any difference for uprobes, but in theory this
change is more correct. We use this inode as a key, to compare it
with uprobe->inode set by uprobe_register(inode), and the caller uses
d_inode.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
kernel/events/uprobes.c