]> err.no Git - util-linux/commit
losetup: remove unnecessary minor number check
authorKarel Zak <kzak@redhat.com>
Thu, 21 Aug 2008 09:17:55 +0000 (11:17 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 21 Aug 2008 09:17:55 +0000 (11:17 +0200)
commit2482d7dd247d33ff224f330eba0874df2895d9a6
tree7aa05d34c74218ada0c550183729dd3aa7c5d667
parent6bfa5f756f38211270f8eb0c2902dc68d808fe1e
losetup: remove unnecessary minor number check

The latest kernel supports partitioned loop devices (kernel commit
476a4813cfddf7cf159956cc0e2d3c830c1507e3). Unfortunately, this change
makes minor numbers useless, because mirror number does not match with
loop device name (loop<N>).

Fortunately, losetup code does not depend on minor numbers.

Signed-off-by: Karel Zak <kzak@redhat.com>
mount/lomount.c