summaryrefslogtreecommitdiffstats
path: root/.testignore
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2017-09-22 12:50:43 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2017-09-27 05:20:34 +0000
commit572b4bf889d903dcaed49a57a75270a763dc259d (patch)
treedfeaa3ba763494d0d9d6269fc36f29db5ab1df2e /.testignore
parent24637d54dcbc06de8a7de17c75b9291fcfcfbc84 (diff)
features/locks: Maintain separation of lock->client_pid, flock->l_pid
Problem: grant_blocked_locks() constructs flock from lock. Locks xlator uses frame->root->pid interchangeably flock->l_pid. With gNFS frame->root->pid (which translates to lock->client_pid) is not same as flock->l_pid, this leads to lk's cbk returning flock with l_pid from lock->client_pid instead of input flock->l_pid. This triggers EC's error code path leading to failure of lk call, because the response' flock->l_pid is different from request's flock->l_pid. Fix: Maintain separation of lock->client_pid, flock->l_pid. Always unwind with flock with correct pid. BUG: 1472961 Change-Id: Ifab35c458662cf0082b902f37782f8c5321d823d Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to '.testignore')
0 files changed, 0 insertions, 0 deletions