]> git.baikalelectronics.ru Git - kernel.git/commit
initrd: remove the BLKFLSBUF call in handle_initrd
authorChristoph Hellwig <hch@lst.de>
Sun, 7 Jun 2020 15:40:30 +0000 (17:40 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 30 Jul 2020 06:22:47 +0000 (08:22 +0200)
commit64ee46d5f7f1e9a3468be586e419883daa77db17
tree744d3462337069695141aaa37bbca418473dd370
parent06770854a2f40d4c720d1881d6e6d625685a2057
initrd: remove the BLKFLSBUF call in handle_initrd

BLKFLSBUF used to be overloaded for the ramdisk driver to free the whole
ramdisk, which was completely different behavior compared to all other
drivers.  But this magic overload got removed in commit 0a1518d19cfd
("brd: remove support for BLKFLSBUF"), so this call is entirely
pointless now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
init/do_mounts_initrd.c