Searched hist:"935 e5cc935bcbf9b3d0dd59fed7dbc0f2ebca6bc" (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | check-integrity.c | diff 935e5cc935bcbf9b3d0dd59fed7dbc0f2ebca6bc Wed Sep 03 08:35:33 CDT 2014 Miao Xie <miaox@cn.fujitsu.com> Btrfs: fix wrong disk size when writing super blocks
total_size will be changed when resizing a device, and disk_total_size will be changed if resizing is successful. Meanwhile, the on-disk super blocks of the previous transaction might not be updated. Considering the consistency of the metadata in the previous transaction, We should use the size in the previous transaction to check if the super block is beyond the boundary of the device. Fix it.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
|
H A D | dev-replace.c | diff 935e5cc935bcbf9b3d0dd59fed7dbc0f2ebca6bc Wed Sep 03 08:35:33 CDT 2014 Miao Xie <miaox@cn.fujitsu.com> Btrfs: fix wrong disk size when writing super blocks
total_size will be changed when resizing a device, and disk_total_size will be changed if resizing is successful. Meanwhile, the on-disk super blocks of the previous transaction might not be updated. Considering the consistency of the metadata in the previous transaction, We should use the size in the previous transaction to check if the super block is beyond the boundary of the device. Fix it.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
|
H A D | volumes.h | diff 935e5cc935bcbf9b3d0dd59fed7dbc0f2ebca6bc Wed Sep 03 08:35:33 CDT 2014 Miao Xie <miaox@cn.fujitsu.com> Btrfs: fix wrong disk size when writing super blocks
total_size will be changed when resizing a device, and disk_total_size will be changed if resizing is successful. Meanwhile, the on-disk super blocks of the previous transaction might not be updated. Considering the consistency of the metadata in the previous transaction, We should use the size in the previous transaction to check if the super block is beyond the boundary of the device. Fix it.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
|
H A D | scrub.c | diff 935e5cc935bcbf9b3d0dd59fed7dbc0f2ebca6bc Wed Sep 03 08:35:33 CDT 2014 Miao Xie <miaox@cn.fujitsu.com> Btrfs: fix wrong disk size when writing super blocks
total_size will be changed when resizing a device, and disk_total_size will be changed if resizing is successful. Meanwhile, the on-disk super blocks of the previous transaction might not be updated. Considering the consistency of the metadata in the previous transaction, We should use the size in the previous transaction to check if the super block is beyond the boundary of the device. Fix it.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
|
H A D | transaction.c | diff 935e5cc935bcbf9b3d0dd59fed7dbc0f2ebca6bc Wed Sep 03 08:35:33 CDT 2014 Miao Xie <miaox@cn.fujitsu.com> Btrfs: fix wrong disk size when writing super blocks
total_size will be changed when resizing a device, and disk_total_size will be changed if resizing is successful. Meanwhile, the on-disk super blocks of the previous transaction might not be updated. Considering the consistency of the metadata in the previous transaction, We should use the size in the previous transaction to check if the super block is beyond the boundary of the device. Fix it.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
|
H A D | volumes.c | diff 935e5cc935bcbf9b3d0dd59fed7dbc0f2ebca6bc Wed Sep 03 08:35:33 CDT 2014 Miao Xie <miaox@cn.fujitsu.com> Btrfs: fix wrong disk size when writing super blocks
total_size will be changed when resizing a device, and disk_total_size will be changed if resizing is successful. Meanwhile, the on-disk super blocks of the previous transaction might not be updated. Considering the consistency of the metadata in the previous transaction, We should use the size in the previous transaction to check if the super block is beyond the boundary of the device. Fix it.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
|
H A D | disk-io.c | diff 935e5cc935bcbf9b3d0dd59fed7dbc0f2ebca6bc Wed Sep 03 08:35:33 CDT 2014 Miao Xie <miaox@cn.fujitsu.com> Btrfs: fix wrong disk size when writing super blocks
total_size will be changed when resizing a device, and disk_total_size will be changed if resizing is successful. Meanwhile, the on-disk super blocks of the previous transaction might not be updated. Considering the consistency of the metadata in the previous transaction, We should use the size in the previous transaction to check if the super block is beyond the boundary of the device. Fix it.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
|