Re: [PATCH] blkid: return first detected crypto device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 21, 2009 at 02:14:24PM +0100, Scott James Remnant wrote:
> Crypto devices may sometimes have multiple additional prober matches,
> however just like RAID, there's no danger of activating the wrong one
> since special help is needed to activate the block device before it
> can be used.
> 
> Thus modify blkid_do_safeprobe() to break out of the loop when a
> crypto device is detected, as it does already for RAID.
> 
> Signed-off-by: Scott James Remnant <scott@xxxxxxxxxx>
> ---
>  shlibs/blkid/src/probe.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)

Applied, thanks. (and thanks for your patience on IRC chat:-)

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux