From 4dd99b76239eda8c8c94d3137de4a30e3928f207 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Wed, 22 Aug 2001 15:02:55 +0000 Subject: [PATCH] Return 0 on success now. --- driver/device-mapper/dm-fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver/device-mapper/dm-fs.c b/driver/device-mapper/dm-fs.c index 8fba149b7..b7e243fd4 100644 --- a/driver/device-mapper/dm-fs.c +++ b/driver/device-mapper/dm-fs.c @@ -88,11 +88,11 @@ int dm_init_fs() pfd->minor = -1; _control->data = pfd; - return 1; + return 0; fail: dm_fin_fs(); - return 0; + return -ENOMEM; } void dm_fin_fs(void)