Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251260
b: refs/heads/master
c: b0f8012
h: refs/heads/master
v: v3
  • Loading branch information
Konrad Rzeszutek Wilk committed May 12, 2011
1 parent 518d2e3 commit 6b48493
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 03e0edf946a08f498788bb6e8ab58453d98f25b9
refs/heads/master: b0f801273f7359a7d91fc94f5c6bf216bc17aaa1
2 changes: 1 addition & 1 deletion trunk/drivers/block/xen-blkback/blkback.c
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ static int dispatch_rw_block_io(struct blkif_st *blkif,
/* This will be hit if the operation was a flush. */
if (!bio) {
BUG_ON(operation != WRITE_FLUSH);

bio = bio_alloc(GFP_KERNEL, 0);
if (unlikely(bio == NULL))
goto fail_put_bio;
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/block/xen-blkback/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ int xen_blkbk_flush_diskcache(struct xenbus_transaction xbt,

struct xenbus_device *xen_blkbk_xenbus(struct backend_info *be);

static void inline blkif_get_x86_32_req(struct blkif_request *dst,
static inline void blkif_get_x86_32_req(struct blkif_request *dst,
struct blkif_x86_32_request *src)
{
int i, n = BLKIF_MAX_SEGMENTS_PER_REQUEST;
Expand All @@ -148,7 +148,7 @@ static void inline blkif_get_x86_32_req(struct blkif_request *dst,
dst->u.rw.seg[i] = src->seg[i];
}

static void inline blkif_get_x86_64_req(struct blkif_request *dst,
static inline void blkif_get_x86_64_req(struct blkif_request *dst,
struct blkif_x86_64_request *src)
{
int i, n = BLKIF_MAX_SEGMENTS_PER_REQUEST;
Expand Down

0 comments on commit 6b48493

Please sign in to comment.