diff options
| author | Niu Yawei <yawei.niu@intel.com> | 2016-10-28 01:11:49 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-30 18:00:11 +0300 |
| commit | dac91f85c5df1024770d67c581736fe8ec8e8c88 (patch) | |
| tree | 415f75adffd4a4f6e3fa4ea35c403114b8422d11 /include/linux/dynamic_queue_limits.h | |
| parent | f0a3b550207d3eb2d471772e87e3ab885f7e57c5 (diff) | |
| download | linux-dac91f85c5df1024770d67c581736fe8ec8e8c88.tar.xz | |
staging: lustre: obdecho: don't copy lu_site
While creating an echo device, echo_device_alloc() copies the lu_site
from MD stack, such kind of copy result in uninitialized mutex and
other potential issues.
Instead of copying the lu_site, we'd use the lu_site by pointer directly.
Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6765
Reviewed-on: http://review.whamcloud.com/15657
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.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>
Diffstat (limited to 'include/linux/dynamic_queue_limits.h')
0 files changed, 0 insertions, 0 deletions
