diff options
author | 2015-09-06 08:28:46 -0400 | |
---|---|---|
committer | 2015-10-09 16:20:49 -0700 | |
commit | 538e17e7e96e14f76bb82dd83290a5315da70c3b (patch) | |
tree | 2a6e3002bd04688306b3a6144e18c018e33ae53b /tools/perf/scripts/python | |
parent | f2fs: trace in batches extent info update (diff) | |
download | linux-dev-538e17e7e96e14f76bb82dd83290a5315da70c3b.tar.xz linux-dev-538e17e7e96e14f76bb82dd83290a5315da70c3b.zip |
f2fs: fix incorrect return statement in the function f2fs_ioc_release_volatile_write
This fixes the incorrect return statement at the end of the function
f2fs_ioc_release_volatile_write's body for returning zero as this is
incorrect due to the function call before this return statement to
the function punch_hole being able to fail and we should return this
function's return fail directly in order to signal to callers of the
function f2fs_ioc_release_volatile if a failure arises with this call
to punch_hole fails.
Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions