Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/sys/vfs/hammer/hammer_vnops.c b/sys/vfs/hammer/hammer_vnops.c
- index 161aabc..32dee20 100644
- --- a/sys/vfs/hammer/hammer_vnops.c
- +++ b/sys/vfs/hammer/hammer_vnops.c
- @@ -1045,11 +1045,11 @@ hammer_vop_getattr(struct vop_getattr_args *ap)
- */
- if (ip->flags & HAMMER_INODE_RO) {
- hammer_time_to_timespec(ip->ino_data.ctime, &vap->va_atime);
- - hammer_time_to_timespec(ip->ino_data.ctime, &vap->va_mtime);
- +// hammer_time_to_timespec(ip->ino_data.ctime, &vap->va_mtime);
- } else {
- hammer_time_to_timespec(ip->ino_data.atime, &vap->va_atime);
- - hammer_time_to_timespec(ip->ino_data.mtime, &vap->va_mtime);
- }
- + hammer_time_to_timespec(ip->ino_data.mtime, &vap->va_mtime);
- hammer_time_to_timespec(ip->ino_data.ctime, &vap->va_ctime);
- vap->va_flags = ip->ino_data.uflags;
- vap->va_gen = 1; /* hammer inums are unique for all time */
Add Comment
Please, Sign In to add comment