Skip to contentSkip to conversation

+ fs-bio-remove-bs-paramater-in-biovec_create_pool.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Apr 22, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Subject: + fs-bio-remove-bs-paramater-in-biovec_create_pool.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Tue, 22 Apr 2014 12:54:37 -0700

The patch titled
Subject: fs/bio: remove bs paramater in biovec_create_pool
has been added to the -mm tree. Its filename is
fs-bio-remove-bs-paramater-in-biovec_create_pool.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/fs-bio-remove-bs-paramater-in-biovec_create_pool.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/fs-bio-remove-bs-paramater-in-biovec_create_pool.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Fabian Frederick <[email protected]>
Subject: fs/bio: remove bs paramater in biovec_create_pool

bs is no longer used in biovec_create_pool since 9f060e2231ca96 ("block:
Convert integrity to bvec_alloc_bs()")

---

 fs/bio-integrity.c  |    2 +-
 fs/bio.c            |    4 ++--
 include/linux/bio.h |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
fs/bio-integrity.c renamed from fs/bio-integrity.c~fs-bio-remove-bs-paramater-in-biovec_create_pool +1 -1
diff -puN fs/bio-integrity.c~fs-bio-remove-bs-paramater-in-biovec_create_pool fs/bio-integrity.c
@@ -617,7 +617,7 @@ int bioset_integrity_create(struct bio_s
 	if (!bs->bio_integrity_pool)
 		return -1;
 
-	bs->bvec_integrity_pool = biovec_create_pool(bs, pool_size);
+	bs->bvec_integrity_pool = biovec_create_pool(pool_size);
 	if (!bs->bvec_integrity_pool) {
 		mempool_destroy(bs->bio_integrity_pool);
 		return -1;
fs/bio.c renamed from fs/bio.c~fs-bio-remove-bs-paramater-in-biovec_create_pool +2 -2
diff -puN fs/bio.c~fs-bio-remove-bs-paramater-in-biovec_create_pool fs/bio.c
@@ -1859,7 +1859,7 @@ EXPORT_SYMBOL_GPL(bio_trim);
  * create memory pools for biovec's in a bio_set.
  * use the global biovec slabs created for general use.
  */
-mempool_t *biovec_create_pool(struct bio_set *bs, int pool_entries)
+mempool_t *biovec_create_pool(int pool_entries)
 {
 	struct biovec_slab *bp = bvec_slabs + BIOVEC_MAX_IDX;
 
@@ -1922,7 +1922,7 @@ struct bio_set *bioset_create(unsigned i
 	if (!bs->bio_pool)
 		goto bad;
 
-	bs->bvec_pool = biovec_create_pool(bs, pool_size);
+	bs->bvec_pool = biovec_create_pool(pool_size);
 	if (!bs->bvec_pool)
 		goto bad;
 
include/linux/bio.h renamed from include/linux/bio.h~fs-bio-remove-bs-paramater-in-biovec_create_pool +1 -1
diff -puN include/linux/bio.h~fs-bio-remove-bs-paramater-in-biovec_create_pool include/linux/bio.h
@@ -333,7 +333,7 @@ static inline struct bio *bio_next_split
 
 extern struct bio_set *bioset_create(unsigned int, unsigned int);
 extern void bioset_free(struct bio_set *);
-extern mempool_t *biovec_create_pool(struct bio_set *bs, int pool_entries);
+extern mempool_t *biovec_create_pool(int pool_entries);
 
 extern struct bio *bio_alloc_bioset(gfp_t, int, struct bio_set *);
 extern void bio_put(struct bio *);

_

Patches currently in -mm which might be from [email protected] are

ntfs-remove-null-value-assignments.patch ocfs2-remove-null-assignments-on-static.patch fs-ocfs2-superc-use-ocfs2_max_vol_label_len-and-strlcpy.patch fs-bio-remove-bs-paramater-in-biovec_create_pool.patch fs-bioc-remove-nr_segs-unused-function-parameter.patch sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall.patch fs-binfmt_elfc-fix-bool-assignements.patch fs-befs-linuxvfsc-replace-strncpy-by-strlcpy.patch fs-befs-btreec-replace-strncpy-by-strlcpy-coding-style-fixing.patch fs-reiserfs-bitmapc-coding-style-fixes.patch fs-affs-filec-remove-unnecessary-function-parameters.patch fs-affs-convert-printk-to-pr_foo.patch fs-affs-pr_debug-cleanup.patch
linux-next.patch
ufs-sb-mutex-merge-mutex_destroy.patch