Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343340
b: refs/heads/master
c: 02c0ab6
h: refs/heads/master
v: v3
  • Loading branch information
Yan Hong authored and Linus Torvalds committed Dec 13, 2012
1 parent 70bb9ec commit be1c2d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: a3f3c29cb290a2d5d26e3cf5504f447fd7256a81
refs/heads/master: 02c0ab684fc41bc13ba8d5ad89b0dc73b092fa08
3 changes: 0 additions & 3 deletions trunk/fs/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -849,13 +849,10 @@ struct buffer_head *alloc_page_buffers(struct page *page, unsigned long size,
if (!bh)
goto no_grow;

bh->b_bdev = NULL;
bh->b_this_page = head;
bh->b_blocknr = -1;
head = bh;

bh->b_state = 0;
atomic_set(&bh->b_count, 0);
bh->b_size = size;

/* Link the buffer to its page */
Expand Down

0 comments on commit be1c2d4

Please sign in to comment.