diff options
author | 2010-02-09 06:36:45 +0000 | |
---|---|---|
committer | 2010-03-15 11:00:10 -0400 | |
commit | 3a0524dc054791688177544fe510d2868ee20d9f (patch) | |
tree | 4038b649e33a7f41fd653a16af5766ca9cc6b7c5 /lib/bitmap.c | |
parent | Btrfs: add new defrag-range ioctl. (diff) | |
download | linux-dev-3a0524dc054791688177544fe510d2868ee20d9f.tar.xz linux-dev-3a0524dc054791688177544fe510d2868ee20d9f.zip |
btrfs: Update existing btrfs_device for renaming device
When we scan devices in a multi-device filesystem, we memorize the original
name. If the device gets a new name, later scans don't update the
in-kernel structures related to it, and we're not able to mount the
filesystem.
This patch updates device name during scaning.
Signed-off-by: TARUISI Hiroaki <taruishi.hiroak@jp.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions