btrfs: make btrfs_issue_discard return bytes discarded
authorJeff Mahoney <jeffm@suse.com>
Mon, 15 Jun 2015 13:41:14 +0000 (09:41 -0400)
committerChris Mason <clm@fb.com>
Wed, 29 Jul 2015 15:15:22 +0000 (08:15 -0700)
commitd04c6b88320debb403bff8d8b634a1efa48b8d3d
tree31dbc36b458bfbeb7d640b0a2a183d4057699df4
parent00d80e342c0f4f1990ab69f594ee1e2348e51dd9
btrfs: make btrfs_issue_discard return bytes discarded

Initially this will just be the length argument passed to it,
but the following patches will adjust that to reflect re-alignment
and skipped blocks.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Tested-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent-tree.c