path: root/cmds-device.c
diff options
authorAnand Jain <>2014-10-31 12:11:19 +0800
committerDavid Sterba <>2014-11-03 19:17:08 +0100
commit53cb7fbe8da8253ea3ac1ecc6a71c7ffd1d63f76 (patch)
treec1f1e342646090fad60d3e2bfa4db09716cf6125 /cmds-device.c
parentdcf11c371cbcdca78f297fe042095912634a8323 (diff)
btrfs-progs: introduce btrfs_register_all_device()
This function is to register all devices found after scanning the system. Before we had this functionality with in the btrfs_scan_lblkid(), however scanning and registering are two different distinct operation its better keep them separate. Also we want to optimize btrfs_scan_lblkid and avoid multiple system scans unless needed. As of now device scan uses this function. Signed-off-by: Anand Jain <> Signed-off-by: David Sterba <>
Diffstat (limited to 'cmds-device.c')
0 files changed, 0 insertions, 0 deletions