The patch titled md: fix a bug in some never-used code. has been added to the -mm tree. Its filename is md-fix-a-bug-in-some-never-used-code.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: md: fix a bug in some never-used code. From: NeilBrown <neilb@xxxxxxx> http://bugzilla.kernel.org/show_bug.cgi?id=3277 There is a seq_printf here that isn't being passed a 'seq'. Howeve as the code is inside #ifdef MD_DEBUG, nobody noticed. Also remove some extra spaces. Signed-off-by: Neil Brown <neilb@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/md/raid0.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff -puN drivers/md/raid0.c~md-fix-a-bug-in-some-never-used-code drivers/md/raid0.c --- a/drivers/md/raid0.c~md-fix-a-bug-in-some-never-used-code +++ a/drivers/md/raid0.c @@ -472,7 +472,7 @@ bad_map: bio_io_error(bio); return 0; } - + static void raid0_status (struct seq_file *seq, mddev_t *mddev) { #undef MD_DEBUG @@ -480,18 +480,18 @@ static void raid0_status (struct seq_fil int j, k, h; char b[BDEVNAME_SIZE]; raid0_conf_t *conf = mddev_to_conf(mddev); - + h = 0; for (j = 0; j < conf->nr_strip_zones; j++) { seq_printf(seq, " z%d", j); if (conf->hash_table[h] == conf->strip_zone+j) - seq_printf("(h%d)", h++); + seq_printf(seq, "(h%d)", h++); seq_printf(seq, "=["); for (k = 0; k < conf->strip_zone[j].nb_dev; k++) - seq_printf (seq, "%s/", bdevname( + seq_printf(seq, "%s/", bdevname( conf->strip_zone[j].dev[k]->bdev,b)); - seq_printf (seq, "] zo=%d do=%d s=%d\n", + seq_printf(seq, "] zo=%d do=%d s=%d\n", conf->strip_zone[j].zone_offset, conf->strip_zone[j].dev_offset, conf->strip_zone[j].size); _ Patches currently in -mm which might be from neilb@xxxxxxx are origin.patch git-nfsd.patch mm-revert-kernel_ds-buffered-write-optimisation.patch shrink_dcache_sb-speedup.patch menuconfig-transform-network-filesystems-menu.patch fs-nfsd-exportc-make-3-functions-static.patch md-software-raid-autodetect-dev-list-not-array.patch bitmaph-remove-dead-artifacts.patch md-fix-a-bug-in-some-never-used-code.patch md-sync_action-in-sysfs-returns-wrong-value-for-readonly-arrays.patch md-expose-the-degraded-status-of-an-assembled-array-through-sysfs.patch md-make-sure-read-errors-are-auto-corrected-during-a-check-resync-in-raid1.patch md-fix-type-that-is-stopping-raid5-grow-from-working.patch ecryptfs-allow-lower-fs-to-interpret-attr_kill_sid.patch knfsd-only-set-attr_kill_sid-if-attr_mode-isnt-being-explicitly-set.patch vfs-make-notify_change-pass-attr_kill_sid-to-setattr-operations.patch sysctl-remove-broken-sunrpc-debug-binary-sysctls.patch exportfs-add-fid-type.patch exportfs-add-new-methods.patch ext2-new-export-ops.patch ext3-new-export-ops.patch ext4-new-export-ops.patch efs-new-export-ops.patch jfs-new-export-ops.patch ntfs-new-export-ops.patch xfs-new-export-ops.patch fat-new-export-ops.patch isofs-new-export-ops.patch shmem-new-export-ops.patch reiserfs-new-export-ops.patch gfs2-new-export-ops.patch ocfs2-new-export-ops.patch exportfs-remove-old-methods.patch exportfs-make-struct-export_operations-const.patch exportfs-update-documentation.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html