Whamcloud - gitweb
b=22307 initialize the child_res_id for OPEN lock
authorHongchao.Zhang@Sun.COM <Hongchao.Zhang@Sun.COM>
Fri, 9 Apr 2010 09:35:27 +0000 (17:35 +0800)
committerJohann Lombardi <johann@sun.com>
Fri, 9 Apr 2010 09:40:52 +0000 (11:40 +0200)
commit21a05ea1baa0838b0a610df98e59512244e642fd
tree75a01eacdb9c167771e44174a1889a70ccd10047
parentdeb4abf40857aee21225c4c042ecb66fe1fe337a
b=22307 initialize the child_res_id for OPEN lock

in mds_open, initialize the child_res_id before enqueuing
the OPEN lock for the child inode, then to avoid senting
wrong ldlm_res_id to client.

i=johann
lustre/mds/mds_open.c