diff options
author | Eric Sandeen <sandeen@redhat.com> | 2013-02-25 16:54:37 -0600 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-02-27 14:39:27 +0100 |
commit | b808cb66aa7e68bfadfc73f8e5191d284413e3d1 (patch) | |
tree | 136f0261e5fa4e49eaefb2fb1115a574ce8a461f /man | |
parent | b26746e462b67e4310cf88289703a74c3a213d14 (diff) |
btrfs-progs: btrfs_list_get_path_rootid error handling
btrfs_list_get_path_rootid() tries to return a negative
number on error, but it's a u64 function. Callers which test
for a return < 0 will never see an error.
Change the function to fill in the rootid via a pointer,
and then return a simple int as error.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions