Skip to content

Commit

Permalink
chimera: fix creation time attribute for tags
Browse files Browse the repository at this point in the history
Fixes: 8269a85

Motivation:
since commmit 8269a85 NFS exposes files creation time attribute. As
tags simulates file, then stating on tags must provide creation time
attribute as well.

Modification:
fix creation time attribute for tags

Result:
regression is fixed.

Fixes: #6608
Acked-by: Albert Rossi
Acked-by: Lea Morschel
Target: master
Require-book: no
Require-notes: no
  • Loading branch information
kofemann committed Apr 29, 2022
1 parent 07395c6 commit e22c49e
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -1353,6 +1353,7 @@ Stat statTag(FsInode dir, String name) throws ChimeraFsException {
ret.setATime(rs.getTimestamp("iatime").getTime());
ret.setCTime(rs.getTimestamp("ictime").getTime());
ret.setMTime(rs.getTimestamp("imtime").getTime());
ret.setCrTime(ret.getMTime());
ret.setUid(rs.getInt("iuid"));
ret.setGid(rs.getInt("igid"));
ret.setMode(rs.getInt("imode"));
Expand Down

0 comments on commit e22c49e

Please sign in to comment.