efivars driver update and move
Quoted 11 lines
Patch below fixes three small bugs in
efivars.cas posted by Matt Tolentino last week and included in the latest -mm. Aside from this small patch, I'm quite pleased with Matt T's work, thanks!=20*
dummy()used for reading write-only sysfs files should return-ENODEVto indicate failure, not 0.
*efivar_create()should return the number of bytes written on success, not zero. =20
*efivar_delete()should return the number of bytes written on success, not zero.
Quoted 3 lines
Compiled, tested with efibootmgr-0.5.0-test3. The anomolies I noted late Friday night are resolved by this kernel patch - efibootmgr was actually testing the values returned by writes.
Thanks for taking the time to look at this Matt...
matt