search for: qv_softlimit

Displaying 1 result from an estimated 1 matches for "qv_softlimit".

2014 Oct 10
1
fixes for quota support on NetBSD
...k, &qv) != 0) { if (errno == ESRCH) { fs_quota_root_disable(root, group); return 0; } i_error("quotactl(Q_GETQUOTA, %s) failed: %m", root->mount->mount_path); - return -1; + ret = -1; + goto end; } *value_r = qv.qv_usage * DEV_BSIZE; *limit_r = qv.qv_softlimit * DEV_BSIZE; - return 1; + ret = 1; +end: + quota_close(qh); + return ret; } #endif -------------- next part -------------- $NetBSD: patch-src_plugins_quota_quota-fs.h,v 1.4 2013/08/05 23:12:42 bouyer Exp $ fix support for NetBSD's libquota --- src/plugins/quota/quota-fs.h.orig 2013-08-...