aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/lockd/lockd.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 09:40:24 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 09:40:24 -0400
commit5046791417dcac1ba126b77b8062af15a2f0b8e1 (patch)
treea59f8eecd3e089046859cd4489c550df7b6b1ead /include/linux/lockd/lockd.h
parentlocks.c: add the fl_owner to nlm_compare_locks (diff)
downloadlinux-dev-5046791417dcac1ba126b77b8062af15a2f0b8e1.tar.xz
linux-dev-5046791417dcac1ba126b77b8062af15a2f0b8e1.zip
NLM: sem to mutex conversion
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/lockd/lockd.h')
-rw-r--r--include/linux/lockd/lockd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/lockd/lockd.h b/include/linux/lockd/lockd.h
index 112936fcda80..a6c1a33e5ae3 100644
--- a/include/linux/lockd/lockd.h
+++ b/include/linux/lockd/lockd.h
@@ -54,7 +54,7 @@ struct nlm_host {
u32 h_nsmstate; /* true remote NSM state */
u32 h_pidcount; /* Pseudopids */
atomic_t h_count; /* reference count */
- struct semaphore h_sema; /* mutex for pmap binding */
+ struct mutex h_mutex; /* mutex for pmap binding */
unsigned long h_nextrebind; /* next portmap call */
unsigned long h_expires; /* eligible for GC */
struct list_head h_lockowners; /* Lockowners for the client */