[PATCH] splice: fix min() warning

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jens Axboe <axboe@suse.de>

authored by Andrew Morton and committed by Jens Axboe ba5f5d90 4d5c34ec

+1 -1
+1 -1
fs/splice.c
··· 283 /* 284 * this_len is the max we'll use from this page 285 */ 286 - this_len = min(len, PAGE_CACHE_SIZE - loff); 287 find_page: 288 /* 289 * lookup the page for this index
··· 283 /* 284 * this_len is the max we'll use from this page 285 */ 286 + this_len = min_t(unsigned long, len, PAGE_CACHE_SIZE - loff); 287 find_page: 288 /* 289 * lookup the page for this index