https://github.com/torvalds/linux
Revision 9362dd1109f87a9d0a798fbc890cb339c171ed35 authored by Martin Wilck on 25 July 2018, 21:15:08 UTC, committed by Jens Axboe on 26 July 2018, 17:52:33 UTC
Fixes: 72ecad22d9f1 ("block: support a full bio worth of IO for simplified bdev direct-io")
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin Wilck <mwilck@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent b403ea2
Raw File
Tip revision: 9362dd1109f87a9d0a798fbc890cb339c171ed35 authored by Martin Wilck on 25 July 2018, 21:15:08 UTC
blkdev: __blkdev_direct_IO_simple: fix leak in error case
Tip revision: 9362dd1
split-man.pl
#!/usr/bin/perl
# SPDX-License-Identifier: GPL-2.0
#
# Author: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
#
# Produce manpages from kernel-doc.
# See Documentation/doc-guide/kernel-doc.rst for instructions

if ($#ARGV < 0) {
   die "where do I put the results?\n";
}

mkdir $ARGV[0],0777;
$state = 0;
while (<STDIN>) {
    if (/^\.TH \"[^\"]*\" 9 \"([^\"]*)\"/) {
	if ($state == 1) { close OUT }
	$state = 1;
	$fn = "$ARGV[0]/$1.9";
	print STDERR "Creating $fn\n";
	open OUT, ">$fn" or die "can't open $fn: $!\n";
	print OUT $_;
    } elsif ($state != 0) {
	print OUT $_;
    }
}

close OUT;
back to top