commit | 8d3ab4ebfd7435bc248873de47d0ca23076c4973 | [log] [tgz] |
---|---|---|
author | Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com> | Mon Aug 27 20:56:55 2012 -0300 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Oct 30 08:34:25 2012 +0100 |
tree | 7e042c6419e63f9c4ec19de6bacde87450164976 | |
parent | d60e7ec18c3fb2cbf90969ccd42889eb2d03aef9 [diff] |
floppy: use common function to check if floppies can be registered The same checks to see if a drive can be or is registered are repeated through the code, factor out the checks in a common function and replace the repeated checks with it. Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Jens Axboe <axboe@kernel.dk>