projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d196fc
)
Btrfs: Don't case unsigned long to int in bio submission
author
Chris Mason
<chris.mason@oracle.com>
Wed, 6 Feb 2008 16:01:42 +0000
(11:01 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:00 +0000
(11:04 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_io.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/extent_io.c
b/fs/btrfs/extent_io.c
index 36a943e51808e1a18b7839de2a520257f914539c..b68e57f66a969e6e39ec91de479ce15693e6815b 100644
(file)
--- a/
fs/btrfs/extent_io.c
+++ b/
fs/btrfs/extent_io.c
@@
-1705,7
+1705,7
@@
static int submit_extent_page(int rw, struct extent_io_tree *tree,
return 0;
}
}
- nr =
min_t(int, max_pages, bio_get_nr_vecs(bdev)
);
+ nr =
bio_get_nr_vecs(bdev
);
bio = extent_bio_alloc(bdev, sector, nr, GFP_NOFS | __GFP_HIGH);
if (!bio) {
printk("failed to allocate bio nr %d\n", nr);