From bae914d7dac4fffc4e3147438ea26d98cc1de7a1 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 21 Jul 2008 00:09:44 +0300 Subject: [PATCH] Solaris fs quota may have closed fd 0. --HG-- branch : HEAD --- src/plugins/quota/quota-fs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/quota/quota-fs.c b/src/plugins/quota/quota-fs.c index af8ff6ed51..2e18fe2276 100644 --- a/src/plugins/quota/quota-fs.c +++ b/src/plugins/quota/quota-fs.c @@ -160,6 +160,9 @@ static struct fs_quota_mountpoint *fs_quota_mountpoint_get(const char *dir) mount->mount_path = point.mount_path; mount->type = point.type; mount->block_size = point.block_size; +#ifdef FS_QUOTA_SOLARIS + mount->fd = -1; +#endif return mount; } -- 2.47.3