summaryrefslogtreecommitdiffstats
path: root/net/phonet
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2012-01-31 17:14:54 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-02-01 23:39:01 +0100
commit572d34b946bae070debd42db1143034d9687e13f (patch)
treeb913d612090e8ec25e92451120ef64692c802264 /net/phonet
parentproc: mem_release() should check mm != NULL (diff)
downloadlinux-572d34b946bae070debd42db1143034d9687e13f.tar.xz
linux-572d34b946bae070debd42db1143034d9687e13f.zip
proc: unify mem_read() and mem_write()
No functional changes, cleanup and preparation. mem_read() and mem_write() are very similar. Move this code into the new common helper, mem_rw(), which takes the additional "int write" argument. Cc: stable@kernel.org Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/phonet')
0 files changed, 0 insertions, 0 deletions