commit | f281769e81b49840f1857f6dfac049350e678350 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Sun Mar 17 18:54:44 2013 +0100 |
committer | Oleg Nesterov <oleg@redhat.com> | Thu Apr 04 13:57:03 2013 +0200 |
tree | 325e53ee508463f95d2be119c9afa45fe3e45b5e | |
parent | b847d0501afec4c7b12eb276aec10a2834f953ea [diff] |
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>