Re: [PATCH v2] uprobes: Use file_inode()

2013-03-21 Thread Srikar Dronamraju
* Oleg Nesterov [2013-03-18 19:43:17]: > Cleanup. Now that we have f_inode/file_inode() we can use it instead > of ->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

Re: [PATCH v2] uprobes: Use file_inode()

2013-03-21 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2013-03-18 19:43:17]: Cleanup. Now that we have f_inode/file_inode() we can use it instead of -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

[PATCH v2] uprobes: Use file_inode()

2013-03-18 Thread Oleg Nesterov
Cleanup. Now that we have f_inode/file_inode() we can use it instead of ->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

[PATCH v2] uprobes: Use file_inode()

2013-03-18 Thread Oleg Nesterov
Cleanup. Now that we have f_inode/file_inode() we can use it instead of -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