Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359683
b: refs/heads/master
c: cc344fa
h: refs/heads/master
i:
  359681: bc5b8fb
  359679: ed40ea8
v: v3
  • Loading branch information
Alex Elder committed Feb 25, 2013
1 parent abc3a10 commit 4c54a2a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c9ffc77adebf9dfe3026ede6c8b3c61586b485b7
refs/heads/master: cc344fa1b541b116190291d366583585f03d0fe6
12 changes: 7 additions & 5 deletions trunk/drivers/block/rbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ static bool obj_request_type_valid(enum obj_request_type type)
}
}

struct ceph_osd_req_op *rbd_osd_req_op_create(u16 opcode, ...)
static struct ceph_osd_req_op *rbd_osd_req_op_create(u16 opcode, ...)
{
struct ceph_osd_req_op *op;
va_list args;
Expand Down Expand Up @@ -1537,7 +1537,8 @@ static void rbd_obj_request_destroy(struct kref *kref)
* that comprises the image request, and the Linux request pointer
* (if there is one).
*/
struct rbd_img_request *rbd_img_request_create(struct rbd_device *rbd_dev,
static struct rbd_img_request *rbd_img_request_create(
struct rbd_device *rbd_dev,
u64 offset, u64 length,
bool write_request)
{
Expand Down Expand Up @@ -1971,6 +1972,7 @@ static int rbd_obj_method_sync(struct rbd_device *rbd_dev,
}

static void rbd_request_fn(struct request_queue *q)
__releases(q->queue_lock) __acquires(q->queue_lock)
{
struct rbd_device *rbd_dev = q->queuedata;
bool read_only = rbd_dev->mapping.read_only;
Expand Down Expand Up @@ -2705,7 +2707,7 @@ static void rbd_spec_free(struct kref *kref)
kfree(spec);
}

struct rbd_device *rbd_dev_create(struct rbd_client *rbdc,
static struct rbd_device *rbd_dev_create(struct rbd_client *rbdc,
struct rbd_spec *spec)
{
struct rbd_device *rbd_dev;
Expand Down Expand Up @@ -4256,7 +4258,7 @@ static void rbd_sysfs_cleanup(void)
device_unregister(&rbd_root_dev);
}

int __init rbd_init(void)
static int __init rbd_init(void)
{
int rc;

Expand All @@ -4272,7 +4274,7 @@ int __init rbd_init(void)
return 0;
}

void __exit rbd_exit(void)
static void __exit rbd_exit(void)
{
rbd_sysfs_cleanup();
}
Expand Down

0 comments on commit 4c54a2a

Please sign in to comment.