Messages in this thread | | | Date | Tue, 24 Mar 2015 23:25:54 +0100 | From | David Sterba <> | Subject | Re: [PATCH 1/1] btrfs: incorrect handling for fiemap_fill_next_extent return |
| |
On Tue, Mar 24, 2015 at 06:12:56PM -0400, Chengyu Song wrote: > fiemap_fill_next_extent returns 0 on success, -errno on error, 1 if this was > the last extent that will fit in user array. If 1 is returned, the return > value may eventually returned to user space, which should not happen, according > to manpage of ioctl. > > Signed-off-by: Chengyu Song <csong84@gatech.edu>
Good catch, thanks.
Reviewed-by: David Sterba <dsterba@suse.cz>
Should go to stable.
| |