btrfs: using btrfs_stack_device_id() get devid
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Wed, 6 Jan 2010 11:48:18 +0000 (11:48 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 15 Mar 2010 15:00:14 +0000 (11:00 -0400)
commita343832f1a55c74791a8a37053fc02ad80640710
tree79e920025747703c06ba7a97e433a3ad307d80fe
parent91748467a5c5884e44ad5cf58630c0c28474f1f6
btrfs: using btrfs_stack_device_id() get devid

We can use btrfs_stack_device_id() to get dev_item->devid

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/volumes.c