aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
diff options
context:
space:
mode:
authorChandan Rajendra <[email protected]>2016-06-23 09:46:44 +0000
committerChris Mason <[email protected]>2016-06-23 17:44:42 +0000
commitb7f67055d2df9b8f68f02e49d256ee3973999bd2 (patch)
tree0fcd75971843a7db70550df761c7028599192a80 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
parentbtrfs: fix disk_i_size update bug when fallocate() fails (diff)
downloadkernel-b7f67055d2df9b8f68f02e49d256ee3973999bd2.tar.gz
kernel-b7f67055d2df9b8f68f02e49d256ee3973999bd2.zip
Btrfs: Force stripesize to the value of sectorsize
Btrfs code currently assumes stripesize to be same as sectorsize. However Btrfs-progs (until commit df05c7ed455f519e6e15e46196392e4757257305) has been setting btrfs_super_block->stripesize to a value of 4096. This commit makes sure that the value of btrfs_super_block->stripesize is a power of 2. Later, it unconditionally sets btrfs_root->stripesize to sectorsize. Signed-off-by: Chandan Rajendra <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions