Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226860
b: refs/heads/master
c: 373daac
h: refs/heads/master
v: v3
  • Loading branch information
Kai Makisara authored and James Bottomley committed Dec 23, 2010
1 parent 3af95be commit 00bded0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a87e3a67d57472f40da2218793ff6d25c4518498
refs/heads/master: 373daacfce9ea0091cb3027572354ddebefb8ebb
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/st.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Last modified: 18-JAN-1998 Richard Gooch <rgooch@atnf.csiro.au> Devfs support
*/

static const char *verstr = "20100829";
static const char *verstr = "20101219";

#include <linux/module.h>

Expand Down Expand Up @@ -3732,6 +3732,7 @@ static int enlarge_buffer(struct st_buffer * STbuffer, int new_size, int need_dm
order < ST_MAX_ORDER && b_size < new_size;
order++, b_size *= 2)
; /* empty */
STbuffer->reserved_page_order = order;
}
if (max_segs * (PAGE_SIZE << order) < new_size) {
if (order == ST_MAX_ORDER)
Expand All @@ -3758,7 +3759,6 @@ static int enlarge_buffer(struct st_buffer * STbuffer, int new_size, int need_dm
segs++;
}
STbuffer->b_data = page_address(STbuffer->reserved_pages[0]);
STbuffer->reserved_page_order = order;

return 1;
}
Expand Down

0 comments on commit 00bded0

Please sign in to comment.