]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
staging: lustre: lov: handle the case of stripe size is not power 2
authorJinshan Xiong <jinshan.xiong@intel.com>
Tue, 16 Aug 2016 20:18:45 +0000 (16:18 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 13:57:35 +0000 (15:57 +0200)
commit87ffe02c20b2fa302f22754a28f530ab54eadac6
treeaf98376897367c0cd643b48c469ca9ae511d397f
parent91196c20a37bb5990e4358ff97dbeb2bd3007154
staging: lustre: lov: handle the case of stripe size is not power 2

Calculate the end of current stripe correctly when the stripe size
is not power 2.

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4860
Reviewed-on: http://review.whamcloud.com/9882
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_page.c