Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346174
b: refs/heads/master
c: 0642d5f
h: refs/heads/master
v: v3
  • Loading branch information
Lars Ellenberg authored and Philipp Reisner committed Nov 8, 2012
1 parent d431222 commit be6ff39
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 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: e44d71f36c4e19ee08c70d466cdcf6ae56fbbefd
refs/heads/master: 0642d5f8e0c974705932a4c3adf02192b9528d7b
12 changes: 0 additions & 12 deletions trunk/drivers/block/drbd/drbd_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -1594,18 +1594,6 @@ static inline struct page *page_chain_next(struct page *page)
#define page_chain_for_each_safe(page, n) \
for (; page && ({ n = page_chain_next(page); 1; }); page = n)

static inline int drbd_bio_has_active_page(struct bio *bio)
{
struct bio_vec *bvec;
int i;

__bio_for_each_segment(bvec, bio, i, 0) {
if (page_count(bvec->bv_page) > 1)
return 1;
}

return 0;
}

static inline int drbd_peer_req_has_active_page(struct drbd_peer_request *peer_req)
{
Expand Down

0 comments on commit be6ff39

Please sign in to comment.