summaryrefslogtreecommitdiff
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorChengyu Song <csong84@gatech.edu>2015-03-24 18:12:56 -0400
committerJiri Slaby <jslaby@suse.cz>2015-06-23 14:55:14 +0200
commit9cb9cfc9f2a6f6c3177744b50f5514190f0cca96 (patch)
tree0ba662664f68b47fc5e414b8eb6c08f83b69a45e /fs/btrfs/super.c
parent27ea4a8d98cb59b5ee41e36e1165117a63d70555 (diff)
btrfs: incorrect handling for fiemap_fill_next_extent return
commit 26e726afe01c1c82072cf23a5ed89ce25f39d9f2 upstream. 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> Reviewed-by: David Sterba <dsterba@suse.cz> Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Chris Mason <clm@fb.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'fs/btrfs/super.c')
0 files changed, 0 insertions, 0 deletions