[GFS2] Given device ID rather than s_id in "id" sysfs file
authorBob Peterson <rpeterso@redhat.com>
Fri, 2 Nov 2007 14:37:15 +0000 (09:37 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:07:47 +0000 (08:07 +0000)
commitc7227e46423a57b4df27a2d75b5869bd3ae654d0
treee0d1ce8a49d766f119358a721c38837776dcdaf5
parente589665eb97b297412fb16b4c1737a01a91db903
[GFS2] Given device ID rather than s_id in "id" sysfs file

This patch changes the /sys/fs/gfs2/<s_id>/id file to give the device
id "major:minor" rather than the s_id.  That enables gfs2_tool to
match devices properly (by id, not name) when locating the tuning files.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/sys.c