Whamcloud - gitweb
libblkid: Give a priority bonus to "leaf" devicemapper devices
authorTheodore Ts'o <tytso@mit.edu>
Wed, 27 Aug 2008 06:24:51 +0000 (02:24 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 27 Aug 2008 06:24:51 +0000 (02:24 -0400)
commite6baebd2a9b205c2eaf8de0807e75bfba7061cad
treeae4825125ff9df740a7ca95bf8683db7987ab36f
parent0bb740621f33f54161416684b9003e93f11d2779
libblkid: Give a priority bonus to "leaf" devicemapper devices

Give a boost to dm devices which are not used to build other dm
devices, since "leaf" devices are generally more likely to be
interesting as devices to mount.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/blkid/devname.c