Name

blk_mangle_minor — scatter minor numbers apart

Synopsis

int blk_mangle_minor (int minor);
 

Arguments

minor

minor number to mangle

Description

Scatter consecutively allocated minor number apart if MANGLE_DEVT is enabled. Mangling twice gives the original value.

RETURNS

Mangled value.

CONTEXT

Don't care.