]> git.karo-electronics.de Git - linux-beck.git/commit
staging: lustre: ldlm: dont always check max_pages_per_rpc alignement
authorSebastien Buisson <sbuisson@ddn.com>
Thu, 28 Apr 2016 16:07:35 +0000 (12:07 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 04:55:26 +0000 (21:55 -0700)
commit6f6c8e7c754a0e17be680f80dfceafe02f0e8932
tree11c2d0e051193f50f95376c5a044eb6b1d81259f
parentb78c2b9b3e4af47ca96cd848f21b989ee0e86ea5
staging: lustre: ldlm: dont always check max_pages_per_rpc alignement

If connection is not established yet, cli->cl_chunkbits is
uninitilized so we cannot use it to check max_pages_per_rpc
alignment.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4379
Reviewed-on: http://review.whamcloud.com/8558
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ldlm/ldlm_lib.c