Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19331
b: refs/heads/master
c: 3ee247e
h: refs/heads/master
i:
  19329: e1e9454
  19327: c004561
v: v3
  • Loading branch information
Alasdair G Kergon authored and Linus Torvalds committed Feb 1, 2006
1 parent 5e4c728 commit b81bc80
Show file tree
Hide file tree
Showing 3 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: 4aac0a63fe8d418a2b74e43708f59380ba379a3b
refs/heads/master: 3ee247ebce93a526f482d6bc714ce796fa85a81a
2 changes: 1 addition & 1 deletion trunk/drivers/md/dm-table.c
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ int dm_get_device(struct dm_target *ti, const char *path, sector_t start,
if (q->merge_bvec_fn)
rs->max_sectors =
min_not_zero(rs->max_sectors,
(unsigned short)(PAGE_SIZE >> 9));
(unsigned int) (PAGE_SIZE >> 9));

rs->max_phys_segments =
min_not_zero(rs->max_phys_segments,
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/device-mapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ struct target_type {
};

struct io_restrictions {
unsigned short max_sectors;
unsigned int max_sectors;
unsigned short max_phys_segments;
unsigned short max_hw_segments;
unsigned short hardsect_size;
Expand Down

0 comments on commit b81bc80

Please sign in to comment.