[Tux3] [PATCH] fix mtime support by adding tux3_setattr
phillips at phunq.net
Thu Dec 11 19:49:28 PST 2008
On Thursday 11 December 2008 18:13, Shapor Naghibzadeh wrote:
> This patch implements setattr fileop for Tux3. Tux3 now stores the
> mtime properly and persistently, which I tested under UML.
> I'm updating the MTIME_BIT in tuxnode->present every time, before
> calling inode_setattr, which marks the inode dirty. I considered
> twiddling the MTIME_BIT afterwards, but I wasn't sure if that was safe
> since the inode was already set dirty (and could possibly get
> flushed?), so I was forced to check if the mtime/ctime was changing.
> Thanks to Daniel for the excellent instructions:
> Now we just need a git repo that works :)
Pulled from your hg repo. A proper git tree on kernel.org is coming
soon. Checking in to hg always works. There was a one liner bash
script floating around to symlink the user/kernel files from the
kernel tree. Hard links would be even better.
I only tested that it builds, not that it works :-)
Tux3 mailing list
Tux3 at tux3.org
More information about the Tux3