xfs
[Top] [All Lists]

TAKE 961225 - Fix grace time display problems in xfs_quota

To: xfs@xxxxxxxxxxx, sgi.bugs.xfs@xxxxxxxxxxxx
Subject: TAKE 961225 - Fix grace time display problems in xfs_quota
From: donaldd@xxxxxxx
Date: Mon, 19 Feb 2007 17:24:58 +1100 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
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 <utako@xxxxxxxxxxxxxx>
To: xfs@xxxxxxxxxxx
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 <utako@xxxxxxxxxxxxxx>

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=h
xfsprogs/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=h
xfsprogs/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


<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 961225 - Fix grace time display problems in xfs_quota, donaldd <=