TAKE 961225 - Fix grace time display problems in xfs_quota
Fix grace time display problems in xfs_quota
Subject: [PATCH] fix the grace time in xfs_quota
Date: Thu, 15 Feb 2007 16:39:52 +0900
From: Utako Kusaka <[email protected]>
To: [email protected]
Hi,
When a quota limit is reached at a soft limit, xfs_quota(8) shows the incorrect grace time.
Because, the subtraction with '__uint32_t' and 'time_t' are done in time_to_string(), and the result does not become a negative value, but a huge value. This patch fixes it.
Date: Mon Feb 19 17:19:54 AEDT 2007 Workarea: linuxbuild.melbourne.sgi.com:/home/donaldd/isms/xfs-cmds Inspected by: Utako Kusaka <[email protected]>
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/xfs-cmds/master-melb
Modid: master-melb:xfs-cmds:28131a
xfsprogs/doc/CHANGES - 1.235 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-cmds/xfsprogs/doc/CHANGES.diff?r1=text&tr1=1.235&r2=text&tr2=1.234&f=hxfsprogs/quota/quota.h - 1.6 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-cmds/xfsprogs/quota/quota.h.diff?r1=text&tr1=1.6&r2=text&tr2=1.5&f=hxfsprogs/quota/util.c - 1.9 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-cmds/xfsprogs/quota/util.c.diff?r1=text&tr1=1.9&r2=text&tr2=1.8&f=h