From 253b3e5a67d2e8aff4e46c88d0dd4c8d369c7b5c Mon Sep 17 00:00:00 2001 From: Ralf Kirchner Date: Wed, 12 Dec 2012 17:09:41 +0100 Subject: dosfs: Fix request evaluation Return the ability to set a cluster size other than one sector for unaligned volumes. --- cpukit/libfs/src/dosfs/msdos_format.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cpukit/libfs/src/dosfs/msdos_format.c') diff --git a/cpukit/libfs/src/dosfs/msdos_format.c b/cpukit/libfs/src/dosfs/msdos_format.c index 0afe6c4cb2..92dab6a095 100644 --- a/cpukit/libfs/src/dosfs/msdos_format.c +++ b/cpukit/libfs/src/dosfs/msdos_format.c @@ -563,11 +563,7 @@ static int msdos_format_determine_fmt_params * Skip aligning structures or d align them */ if (ret_val == 0 && rqdata != NULL) - { fmt_params->skip_alignment = rqdata->skip_alignment; - if (fmt_params->skip_alignment) - fmt_params->sectors_per_cluster = 1; - } if (ret_val == 0) { msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, -- cgit v1.2.3