locks.c: add the fl_owner to nlm_compare_locks
authorMarc Eshel <eshel@almaden.ibm.com>
Fri, 9 Jun 2006 13:40:20 +0000 (09:40 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 9 Jun 2006 13:40:20 +0000 (09:40 -0400)
commit3134cbec5e172c3a86e2c3ef4af34b6cfd380bfa
treefb72cf27eb4ede283503f7b615437288c62b858d
parent81039f1f204a0fd2952112a240284e114f1a25e6
locks.c: add the fl_owner to nlm_compare_locks

Add the fl_owner to NLM compare locks. Since two different client can
present the same pid to the server it is not enough to distinguish locks
from different clients. The fl_owner field is a pointer to the struct
nlm_host which is unique for each client.

Signed-off-by: Marc Eshel <eshel@almaden.ibm.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/lockd/lockd.h