diff options
author | 2014-08-31 15:03:14 -0400 | |
---|---|---|
committer | 2014-08-31 15:03:14 -0400 | |
commit | 19008f6dfa16d23afcd09dceaa598bb6da8de4b1 (patch) | |
tree | 3c3a3cc20bf26de88d97062ccc5d6cdf0e26bacd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ext4: refactor ext4_move_extents code base (diff) | |
download | wireguard-linux-19008f6dfa16d23afcd09dceaa598bb6da8de4b1.tar.xz wireguard-linux-19008f6dfa16d23afcd09dceaa598bb6da8de4b1.zip |
ext4: fix ext4_swap_extents() error handling
If ext4_ext_find_extent() returns an error, we have to clear path1 or
path2 or else we would end up trying to free an ERR_PTR, which would
be bad.
Also eliminate some redundant code and mark the error paths as unlikely()
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions