Btrfs: shared seed device
authorYan Zheng <zheng.yan@oracle.com>
Fri, 12 Dec 2008 15:03:26 +0000 (10:03 -0500)
committerChris Mason <chris.mason@oracle.com>
Fri, 12 Dec 2008 15:03:26 +0000 (10:03 -0500)
commite4404d6e8da678d852b7f767f665f8edf76c9e9f
treeaf6b52e5251d8e939f91e1feab760c1f06021410
parentd2fb3437e4d8d12c73c587615ad187d5288547ec
Btrfs: shared seed device

This patch makes seed device possible to be shared by
multiple mounted file systems. The sharing is achieved
by cloning seed device's btrfs_fs_devices structure.
Thanks you,

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/super.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h