Guest User

Untitled

a guest
Jan 24th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. diff --git a/sys/vfs/hammer/hammer_vnops.c b/sys/vfs/hammer/hammer_vnops.c
  2. index 161aabc..32dee20 100644
  3. --- a/sys/vfs/hammer/hammer_vnops.c
  4. +++ b/sys/vfs/hammer/hammer_vnops.c
  5. @@ -1045,11 +1045,11 @@ hammer_vop_getattr(struct vop_getattr_args *ap)
  6. */
  7. if (ip->flags & HAMMER_INODE_RO) {
  8. hammer_time_to_timespec(ip->ino_data.ctime, &vap->va_atime);
  9. - hammer_time_to_timespec(ip->ino_data.ctime, &vap->va_mtime);
  10. +// hammer_time_to_timespec(ip->ino_data.ctime, &vap->va_mtime);
  11. } else {
  12. hammer_time_to_timespec(ip->ino_data.atime, &vap->va_atime);
  13. - hammer_time_to_timespec(ip->ino_data.mtime, &vap->va_mtime);
  14. }
  15. + hammer_time_to_timespec(ip->ino_data.mtime, &vap->va_mtime);
  16. hammer_time_to_timespec(ip->ino_data.ctime, &vap->va_ctime);
  17. vap->va_flags = ip->ino_data.uflags;
  18. vap->va_gen = 1; /* hammer inums are unique for all time */
Add Comment
Please, Sign In to add comment