Whamcloud - gitweb
LU-2047 obdfilter: init glimpse desc to NULL for ext lock
authorJohann Lombardi <johann.lombardi@intel.com>
Fri, 28 Sep 2012 20:46:12 +0000 (22:46 +0200)
committerOleg Drokin <green@whamcloud.com>
Sat, 29 Sep 2012 16:09:18 +0000 (12:09 -0400)
commit0939a0576bb88829f1534fc41b7e3a642ac2ecf3
tree26c4feb737dac71acbab9f589a13152ffddd3bea
parent5165cdd4b063d523e5ae261f47818b5ba2bbc7cc
LU-2047 obdfilter: init glimpse desc to NULL for ext lock

There is no glimpse descriptor when glimpsing extent locks, we should
thus set ldlm_glimpse_work::gl_desc to NULL to allocate glimpse
request with the correct format.

Signed-off-by: Johann Lombardi <johann@whamcloud.com>
Change-Id: I5cdedfb79631328114ef7b0bc8e035dde985b4fa
Reviewed-on: http://review.whamcloud.com/4127
Tested-by: Hudson
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdfilter/filter.c