]> err.no Git - linux-2.6/blobdiff - fs/lockd/svcshare.c
[PATCH] smc911x Kconfig fix
[linux-2.6] / fs / lockd / svcshare.c
index 4943fb7836cee2d9d2a1eeb1fc67832cac1a8239..27288c83da9689ec5bae8cb9d2f71ee143120b3b 100644 (file)
@@ -88,7 +88,7 @@ nlmsvc_unshare_file(struct nlm_host *host, struct nlm_file *file,
  * Traverse all shares for a given file (and host).
  * NLM_ACT_CHECK is handled by nlmsvc_inspect_file.
  */
-int
+void
 nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file, int action)
 {
        struct nlm_share        *share, **shpp;
@@ -106,6 +106,4 @@ nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file, int action)
                }
                shpp = &share->s_next;
        }
-
-       return 0;
 }