From: Sage Weil Date: Mon, 26 May 2008 22:51:06 +0000 (-0700) Subject: kclient: make it static X-Git-Tag: v0.3~184 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3e2a640cff9cb3d8244bf843d4c9abd7a3d9451b;p=ceph.git kclient: make it static --- diff --git a/src/kernel/osd_client.c b/src/kernel/osd_client.c index f17bb14ec52..99a65e211a7 100644 --- a/src/kernel/osd_client.c +++ b/src/kernel/osd_client.c @@ -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;