Re: [PATCH-v3 3/6] vfs: don't let the dirty time inodes get more than a day stale

2014-11-25 Thread Theodore Ts'o
On Tue, Nov 25, 2014 at 03:58:01PM +0100, Rasmus Villemoes wrote: > > I think days_since_boot was a lot clearer than daycode. In any case, > please make the comment and the code consistent. Yeah, I was going back and forth between days since the epoch and days since boot, but found it was more ef

Re: [PATCH-v3 3/6] vfs: don't let the dirty time inodes get more than a day stale

2014-11-25 Thread Rasmus Villemoes
On Tue, Nov 25 2014, Theodore Ts'o wrote: > static int update_time(struct inode *inode, struct timespec *time, int flags) > { > + struct timespec uptime; > + unsigned short daycode; > int ret; > > if (inode->i_op->update_time) { > @@ -1525,17 +1527,33 @@ static int update_