This awful bunch of ifdefs is a consequence of kernel progression. Identifier bdevname disappears and for backwards compatibility reasons I added an ifdef instead of removing all calls to bdevname and replacing them with %pg.
The solution with %pg instead of %s format comes from kernel source code.
This awful bunch of ifdefs is a consequence of kernel progression. Identifier bdevname disappears and for backwards compatibility reasons I added an ifdef instead of removing all calls to bdevname and replacing them with %pg. The solution with %pg instead of %s format comes from kernel source code.