]> sourceware.org Git - lvm2.git/commit
cleanup: we already know max device name size
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 16 Jun 2014 10:39:32 +0000 (12:39 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 17 Jun 2014 11:43:04 +0000 (13:43 +0200)
commit0558b1a0869f9a68d78e80140500874756c70e4d
tree1fa116f5d71310fccaf8e4f027d6a5e6c6ca44c5
parent7aef45f9bb8620e194d086ebeeaca0312e8aee04
cleanup: we already know max device name size

Use NAME_LEN constant to simplify creation of device name.
Since the max size should be already tested in validation,
throw INTERNAL_ERROR if the size of vg/lv is bigger then NAME_LEN.
tools/lvconvert.c
This page took 0.0346 seconds and 5 git commands to generate.