Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

loop: remove most the top-of-file boilerplate comment

Remove the irrelevant changelogs and todo notes and just leave the SPDX
marker and the copyright notice.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220419063303.583106-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Christoph Hellwig and committed by
Jens Axboe
eb04bb15 f21e6e18

-47
-47
drivers/block/loop.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * linux/drivers/block/loop.c 4 - * 5 - * Written by Theodore Ts'o, 3/29/93 6 - * 7 3 * Copyright 1993 by Theodore Ts'o. 8 - * 9 - * DES encryption plus some minor changes by Werner Almesberger, 30-MAY-1993 10 - * more DES encryption plus IDEA encryption by Nicholas J. Leon, June 20, 1996 11 - * 12 - * Modularized and updated for 1.1.16 kernel - Mitch Dsouza 28th May 1994 13 - * Adapted for 1.3.59 kernel - Andries Brouwer, 1 Feb 1996 14 - * 15 - * Fixed do_loop_request() re-entrancy - Vincent.Renardias@waw.com Mar 20, 1997 16 - * 17 - * Added devfs support - Richard Gooch <rgooch@atnf.csiro.au> 16-Jan-1998 18 - * 19 - * Handle sparse backing files correctly - Kenn Humborg, Jun 28, 1998 20 - * 21 - * Loadable modules and other fixes by AK, 1998 22 - * 23 - * Make real block number available to downstream transfer functions, enables 24 - * CBC (and relatives) mode encryption requiring unique IVs per data block. 25 - * Reed H. Petty, rhp@draper.net 26 - * 27 - * Maximum number of loop devices now dynamic via max_loop module parameter. 28 - * Russell Kroll <rkroll@exploits.org> 19990701 29 - * 30 - * Maximum number of loop devices when compiled-in now selectable by passing 31 - * max_loop=<1-255> to the kernel on boot. 32 - * Erik I. Bolsø, <eriki@himolde.no>, Oct 31, 1999 33 - * 34 - * Completely rewrite request handling to be make_request_fn style and 35 - * non blocking, pushing work to a helper thread. Lots of fixes from 36 - * Al Viro too. 37 - * Jens Axboe <axboe@suse.de>, Nov 2000 38 - * 39 - * Support up to 256 loop devices 40 - * Heinz Mauelshagen <mge@sistina.com>, Feb 2002 41 - * 42 - * Support for falling back on the write file operation when the address space 43 - * operations write_begin is not available on the backing filesystem. 44 - * Anton Altaparmakov, 16 Feb 2005 45 - * 46 - * Still To Fix: 47 - * - Advisory locking is ignored here. 48 - * - Should use an own CAP_* category instead of CAP_SYS_ADMIN 49 - * 50 4 */ 51 - 52 5 #include <linux/module.h> 53 6 #include <linux/moduleparam.h> 54 7 #include <linux/sched.h>