]> git.baikalelectronics.ru Git - kernel.git/commit
dm ioctl: allow dm_copy_name_and_uuid to return only one field
authorMilan Broz <mbroz@redhat.com>
Tue, 6 Jan 2009 03:05:04 +0000 (03:05 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 6 Jan 2009 03:05:04 +0000 (03:05 +0000)
commit89cf0fb0ebaed1772a3f0fcb0360cc313a018cfc
tree3535af0aff56260cdbf573a704e3f0122c6cfc8b
parent9ece69e875b235fabba8a0e40a5be833eb8f94c4
dm ioctl: allow dm_copy_name_and_uuid to return only one field

Allow NULL buffer in dm_copy_name_and_uuid if you only want to return one of
the fields.

(Required by a following patch that adds these fields to sysfs.)

Signed-off-by: Milan Broz <mbroz@redhat.com>
Reviewed-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-ioctl.c