| commit | c56e47a1fa791bfc60fe0127cae30183aa5dc812 | [log] [tgz] |
|---|---|---|
| author | Luis Chamberlain <mcgrof@kernel.org> | Wed Apr 29 06:15:47 2020 +0000 |
| committer | Luis Chamberlain <mcgrof@kernel.org> | Tue May 12 00:40:01 2020 -0600 |
| tree | 696dc7a2c1af954832818f48960df9287cd16a00 | |
| parent | 7a203838568fa717c33bdc7e60958f8e40860cda [diff] |
block: move disk invalidation from del_gendisk() into a helper Move the disk / partition invalidation into a helper. This will make reading del_gendisk easier to read, in preparation for adding support to add error handling later on register_disk() and to later share more code with del_gendisk. This change has no functional changes. Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>