fs-direct-io-remove-redundant-comparison.patch removed from -mm tree
Subject: [merged] fs-direct-io-remove-redundant-comparison.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 04 Apr 2014 12:30:44 -0700
The patch titled
Subject: fs/direct-io.c: remove redundant comparison
has been removed from the -mm tree. Its filename was
fs-direct-io-remove-redundant-comparison.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Gu Zheng <[email protected]>
Subject: fs/direct-io.c: remove redundant comparison
The return value of bio_get_nr_vecs() cannot be bigger than BIO_MAX_PAGES, so we can remove redundant the comparison between nr_pages and BIO_MAX_PAGES.
---
fs/direct-io.c | 1 - 1 file changed, 1 deletion(-)
fs/direct-io.c renamed from fs/direct-io.c~fs-direct-io-remove-redundant-comparison +0 -1
@@ -664,7 +664,6 @@ static inline int dio_new_bio(struct dio goto out; sector = start_sector << (sdio->blkbits -9 ); nr_pages =min (sdio->pages_in_io,bio_get_nr_vecs (map_bh->b_bdev)); - nr_pages =min (nr_pages,BIO_MAX_PAGES );BUG_ON (nr_pages <=0 );dio_bio_alloc (dio, sdio, map_bh->b_bdev, sector, nr_pages); sdio->boundary =0 ;
_
Patches currently in -mm which might be from [email protected] are
origin.patch
linux-next.patch