From 978174fd7362b6c425db78c8d316b96050603844 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Mon, 30 Mar 2009 23:36:41 -0700 Subject: 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 --- xlators/storage/posix/src/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/storage') 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) * -- cgit