]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: make it static
authorSage Weil <sage@newdream.net>
Mon, 26 May 2008 22:51:06 +0000 (15:51 -0700)
committerSage Weil <sage@newdream.net>
Mon, 26 May 2008 22:51:06 +0000 (15:51 -0700)
src/kernel/osd_client.c

index f17bb14ec526705374b1b319f8d9fe948c077bd5..99a65e211a73608b04864a23bb7678b2a6fa5810 100644 (file)
@@ -548,10 +548,10 @@ void ceph_osdc_stop(struct ceph_osd_client *osdc)
  * request accordingly.  shorten extent as necessary if it hits an
  * object boundary.
  */
-__u64 calc_layout(struct ceph_osd_client *osdc,
-                 ceph_ino_t ino, struct ceph_file_layout *layout,
-                 __u64 off, __u64 len,
-                 struct ceph_osd_request *req)
+static __u64 calc_layout(struct ceph_osd_client *osdc,
+                        ceph_ino_t ino, struct ceph_file_layout *layout,
+                        __u64 off, __u64 len,
+                        struct ceph_osd_request *req)
 {
        struct ceph_osd_request_head *reqhead = req->r_request->front.iov_base;
        __u64 toff = off, tlen = len;