aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2017-06-09 20:20:34 +0000
committerAl Viro <[email protected]>2017-06-09 20:28:01 +0000
commitbabef37dccbaa49249a22bae9150686815d7be71 (patch)
tree505658793d3ac66c9e103ae27ef1560b46bc6912 /tools/perf/util/scripting-engines/trace-event-python.c
parentufs_getfrag_block(): we only grab ->truncate_mutex on block creation path (diff)
downloadkernel-babef37dccbaa49249a22bae9150686815d7be71.tar.gz
kernel-babef37dccbaa49249a22bae9150686815d7be71.zip
excessive checks in ufs_write_failed() and ufs_evict_inode()
As it is, short copy in write() to append-only file will fail to truncate the excessive allocated blocks. As the matter of fact, all checks in ufs_truncate_blocks() are either redundant or wrong for that caller. As for the only other caller (ufs_evict_inode()), we only need the file type checks there. Cc: [email protected] Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions