Jan Kara ea7bd56fa3 xfs: Fix leak of discard bio
The bio describing discard operation is allocated by
__blkdev_issue_discard() which returns us a reference to it. That
reference is never released and thus we leak this bio. Drop the bio
reference once it completes in xlog_discard_endio().

CC: stable@vger.kernel.org
Fixes: 4560e78f40cb55bd2ea8f1ef4001c5baa88531c7
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2017-08-04 13:43:36 -07:00
..
2017-07-10 10:51:53 -07:00
2016-11-30 14:37:15 +11:00
2016-10-04 11:05:44 -07:00
2017-07-10 10:51:53 -07:00
2017-07-10 10:51:53 -07:00
2017-04-03 15:18:17 -07:00
2017-07-10 10:51:53 -07:00
2017-07-10 10:51:53 -07:00
2017-07-10 10:51:53 -07:00
2017-07-10 10:51:53 -07:00
2017-08-04 13:43:36 -07:00
2017-07-10 10:51:53 -07:00
2017-06-27 18:23:21 -07:00
2017-07-10 10:51:53 -07:00
2017-07-10 10:51:53 -07:00
2017-04-03 15:18:17 -07:00
2017-05-06 11:46:16 -07:00