summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/00-INDEX
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2014-09-03 15:35:32 +0200
committerChris Mason <clm@fb.com>2014-09-17 22:38:31 +0200
commit1c43366d3b3f0fa6c6e81aaf3aa18e0550245dad (patch)
treee5800ddfd965032bcd139ff4595e64d3868a6a5c /Documentation/filesystems/00-INDEX
parentBtrfs: cleanup double assignment of device->bytes_used when device replace fi... (diff)
downloadlinux-1c43366d3b3f0fa6c6e81aaf3aa18e0550245dad.tar.xz
linux-1c43366d3b3f0fa6c6e81aaf3aa18e0550245dad.zip
Btrfs: fix unprotected assignment of the target device
We didn't protect the assignment of the target device, it might cause the problem that the super block update was skipped because we might find wrong size of the target device during the assignment. Fix it by moving the assignment sentences into the initialization function of the target device. And there is another merit that we can check if the target device is suitable more early. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'Documentation/filesystems/00-INDEX')
0 files changed, 0 insertions, 0 deletions