summaryrefslogtreecommitdiffstats
path: root/security/selinux/xfrm.c
diff options
context:
space:
mode:
authorJinshan Xiong <jinshan.xiong@intel.com>2016-06-05 23:28:50 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-07 22:39:41 -0700
commitecd4df4a7a3e4e2c58ce39abb0654b2c3cd1a3c6 (patch)
treeac2fff0fff3a0fb6788f6324625f5438cac02189 /security/selinux/xfrm.c
parentb788dc51e4255b700f566a5d63a9c5028d631c77 (diff)
downloadop-kernel-dev-ecd4df4a7a3e4e2c58ce39abb0654b2c3cd1a3c6.zip
op-kernel-dev-ecd4df4a7a3e4e2c58ce39abb0654b2c3cd1a3c6.tar.gz
staging/lustre/lov: calculate file offset correctly
In lov_stripe_pgoff(), it calls lov_stripe_size() to calculate the file size by ost_size, which will be wrong if the stripe_index happens to be stripe aligned. Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com> Reviewed-on: http://review.whamcloud.com/14462 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6482 Reviewed-by: Bobi Jam <bobijam@hotmail.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/selinux/xfrm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud