]> git.ipfire.org Git - thirdparty/mdadm.git/commit - sysfs.c
sysfs: deprecate sysfs_disk_to_sg
authorDan Williams <dan.j.williams@intel.com>
Fri, 25 Jul 2008 00:26:24 +0000 (17:26 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 25 Jul 2008 00:26:24 +0000 (17:26 -0700)
commit755c99faf2d51c133c49ada9700acd4b8cc961c0
treea71dfa94044621e097091da24ad2625b4123000c
parenteb7ea4630f2df057f4df36eed7a1ec03150f0e76
sysfs: deprecate sysfs_disk_to_sg

The cmd_filter patch merged for 2.6.27 broke retrieving the serial
number via an ioctl to /dev/sgN.  In debugging this I found that other
utilities like sdparm simply run the ioctl on /dev/sdX.  So just convert
to that for protection in numbers, but scream on the mailing list for
the inconvenience grr...

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
mdadm.h
super-intel.c
sysfs.c