]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/lockd/lockd.h
[PATCH] Convert lockd to use the newer mutex instead of the older semaphore
[linux-2.6-omap-h63xx.git] / include / linux / lockd / lockd.h
index 5920ecaeed66fd5e7584c2faecc7432421f20a56..2909619c029589b5f74d86e236f12682cc4946f0 100644 (file)
@@ -111,7 +111,7 @@ struct nlm_file {
        struct list_head        f_blocks;       /* blocked locks */
        unsigned int            f_locks;        /* guesstimate # of locks */
        unsigned int            f_count;        /* reference count */
-       struct semaphore        f_sema;         /* avoid concurrent access */
+       struct mutex            f_mutex;        /* avoid concurrent access */
 };
 
 /*