Files
linux/fs/xfs
Jan Kara 8452494828 xfs: Fix leak of discard bio
commit ea7bd56fa3 upstream.

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().

Fixes: 4560e78f40
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-16 13:46:49 -07:00
..
2017-04-03 15:18:17 -07:00
2017-06-21 20:27:35 -07:00
2016-11-30 14:37:15 +11:00
2016-10-04 11:05:44 -07:00
2017-04-03 15:18:17 -07:00
2017-08-16 13:46:49 -07:00
2017-04-25 09:40:41 -07:00
2017-04-03 15:18:17 -07:00