uprobes: Remove redundant lock_page/unlock_page
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Fri, 1 Jun 2012 09:19:50 +0000 (14:49 +0530)
committerOleg Nesterov <oleg@redhat.com>
Tue, 28 Aug 2012 16:21:15 +0000 (18:21 +0200)
commit61e1d394984110e2e76f25572d5b1b5d48796751
treee189b458a639d23986c0ebe0f2c52879b2a324a3
parent508dc4f8eece1a70c493afc6511fdf5934fef567
uprobes: Remove redundant lock_page/unlock_page

Since read_opcode() reads from the referenced page and doesnt modify
the page contents nor the page attributes, there is no need to lock
the page.

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