summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2010-01-12 15:13:47 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2010-03-03 13:00:16 -0500
commitad2a722f196d2b014f49e6c37e072df71eb3695f (patch)
tree5f643dc85181e1f2a63a906de316c3091c93c360 /tools/perf/util/scripting-engines/trace-event-python.c
parent4b1ae27a96d9860e6c4348673e8fb6a0322511fe (diff)
downloadkernel-crypto-ad2a722f196d2b014f49e6c37e072df71eb3695f.tar.gz
kernel-crypto-ad2a722f196d2b014f49e6c37e072df71eb3695f.tar.xz
kernel-crypto-ad2a722f196d2b014f49e6c37e072df71eb3695f.zip
libfs: Open code simple_commit_write into only user
* simple_commit_write was only called by simple_write_end. Open coding it makes it tiny bit less heavy on the arithmetic and much more readable. * While at it use zero_user() for clearing a partial page. * While at it add a docbook comment for simple_write_end. Signed-off-by: Boaz Harrosh <bharrosh@panasas.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions