]> Git Repo - linux.git/blobdiff - include/linux/lockd/lockd.h
[PATCH] knfsd: change nlm_file to use a hlist
[linux.git] / include / linux / lockd / lockd.h
index 2e740f6a2f77943119a796df35db678d915bcfb2..777a91e1ac8f107147711db46e8ae815887bf1e3 100644 (file)
@@ -105,7 +105,7 @@ struct nlm_rqst {
  * an NFS client.
  */
 struct nlm_file {
-       struct nlm_file *       f_next;         /* linked list */
+       struct hlist_node       f_list;         /* linked list */
        struct nfs_fh           f_handle;       /* NFS file handle */
        struct file *           f_file;         /* VFS file pointer */
        struct nlm_share *      f_shares;       /* DOS shares */
@@ -113,7 +113,6 @@ struct nlm_file {
        unsigned int            f_locks;        /* guesstimate # of locks */
        unsigned int            f_count;        /* reference count */
        struct semaphore        f_sema;         /* avoid concurrent access */
-       int                     f_hash;         /* hash of f_handle */
 };
 
 /*
This page took 0.034731 seconds and 4 git commands to generate.