linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / fs / lockd / svcshare.c
index 27288c8..4943fb7 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.
  */
-void
+int
 nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file, int action)
 {
        struct nlm_share        *share, **shpp;
@@ -106,4 +106,6 @@ nlmsvc_traverse_shares(struct nlm_host *host, struct nlm_file *file, int action)
                }
                shpp = &share->s_next;
        }
+
+       return 0;
 }