init, Documentation: Remove ramdisk_blocksize mentions
Subsystems (2)
PATCH 1/1 init, Documentation: Remove ramdisk_blocksize mentions
The brd driver has never supported the ramdisk_blocksize kernel parameter that was in the rd driver it replaced, so remove mention of this parameter from comments and Documentation.
Commit 9db5579be4bb ("rewrite rd") replaced rd with brd, keeping a brd_blocksize variable in struct brd_device but never using it.
Commit a2cba2913c76 ("brd: get rid of unused members from struct brd_device") removed the unused variable.
Commit f5abc8e75815 ("Documentation/blockdev/ramdisk.txt: updates") removed mentions of ramdisk_blocksize from that file.
--- Documentation/kernel-parameters.txt | 3 --- init/do_mounts_rd.c | 7 ------- 2 files changed, 10 deletions(-)
Documentation/kernel-parameters.txt +0 -3
@@ -3050,9 +3050,6 @@ bytes respectively. Such letter suffixes can also be entirely omitted. raid= [HW,RAID] See Documentation/md.txt. - ramdisk_blocksize= [RAM] - See Documentation/blockdev/ramdisk.txt. - ramdisk_size= [RAM] Sizes of RAM disks in kilobytes See Documentation/blockdev/ramdisk.txt.
init/do_mounts_rd.c +0 -7
@@ -216,13 +216,6 @@ int __init rd_load_image(char *from)/* * NOTE NOTE: nblocks is not actually blocks but * the number of kibibytes of data to load into a ramdisk. -* So any ramdisk block size that is a multiple of 1KiB should -* work when the appropriate ramdisk_blocksize is specified -* on the command line. -* -* The default ramdisk_blocksize is 1KiB and it is generally -* silly to use anything else, so make sure to use 1KiB -* blocksize while generating ext2fs ramdisk-images. */ if (sys_ioctl (out_fd,BLKGETSIZE , (unsigned long )&rd_blocks) <0 ) rd_blocks =0 ;
Signature · 1 line
2.4.3
Jonathan Corbet
maintainerQuoted 9 lines · On Wed, 23 Dec 2015 18:28:49 -0600 Robert Elliott <[email protected]> wrote:
The brd driver has never supported the
ramdisk_blocksizekernel parameter that was in the rd driver it replaced, so remove mention of this parameter from comments and Documentation.Commit
9db5579be4bb("rewrite rd") replaced rd with brd, keeping abrd_blocksizevariable in structbrd_devicebut never using it.Commit
a2cba2913c76("brd: get rid of unused members from structbrd_device") removed the unused variable.
init/do_mounts_rd.c is a bit outside of the normal docs maintainer beat, but there doesn't seem to be anybody else who should take this either, so I've applied it to the docs tree.
Thanks,
jon