summaryrefslogtreecommitdiffstats
path: root/xlators/storage
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2009-03-30 23:36:41 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-04-01 15:48:05 +0530
commit978174fd7362b6c425db78c8d316b96050603844 (patch)
tree67b0173a5f6adc07bdea786ccce676d963381d6c /xlators/storage
parent39d67cbf8921db55e7205a94bce5c6d154a3a3d5 (diff)
Bug fix in posix-init(), when span-devices is set above 1
removed the extra '!' in if statement, which was a typo earlier. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/storage')
-rw-r--r--xlators/storage/posix/src/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index a2635e6ee..e92f01cd6 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -3968,7 +3968,7 @@ init (xlator_t *this)
_private->num_devices_to_span);
_private->span_devices = 1;
}
- if (!_private->num_devices_to_span < 1)
+ if (_private->num_devices_to_span < 1)
_private->num_devices_to_span = 1;
}
_private->st_device = CALLOC (1, (sizeof (dev_t) *