diff options
author | Misono Tomohiro <misono.tomohiro@jp.fujitsu.com> | 2018-07-25 17:20:16 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 15:06:36 +0200 |
commit | 5e2b3eedfcc374e3d8df09ed88b85fc8c087922e (patch) | |
tree | b952dc19e299cf18b7ba9d55724cf2dc9579687f /CHANGES | |
parent | d99615284a83452c019f5bed05a882f93a4ef19a (diff) |
btrfs-progs: inspect logical-resolve: Set correct error value
Reset ret value to zero after snprintf(), which returns the number
of written chars. Otherwise non-zero value returns after command
success with -P option. Also set return value from __ino_to_path_fd() to
reflect the final status for default behavior.
Signed-off-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'CHANGES')
0 files changed, 0 insertions, 0 deletions