[rtems commit] dosfs: Fix request evaluation
Sebastian Huber
sebh at rtems.org
Thu Dec 13 10:35:13 UTC 2012
Module: rtems
Branch: master
Commit: 253b3e5a67d2e8aff4e46c88d0dd4c8d369c7b5c
Changeset: http://git.rtems.org/rtems/commit/?id=253b3e5a67d2e8aff4e46c88d0dd4c8d369c7b5c
Author: Ralf Kirchner <ralf.kirchner at embedded-brains.de>
Date: Wed Dec 12 17:09:41 2012 +0100
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 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/cpukit/libfs/src/dosfs/msdos_format.c b/cpukit/libfs/src/dosfs/msdos_format.c
index 0afe6c4..92dab6a 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,
More information about the vc
mailing list