Commit 44ef2d6a authored by David Woodhouse's avatar David Woodhouse

Fix nanosecond merge.

parent 20fed049
......@@ -188,9 +188,9 @@ int jffs2_setattr (struct dentry *dentry, struct iattr *iattr)
return PTR_ERR(new_metadata);
}
/* It worked. Update the inode */
inode->i_atime = je32_to_cpu(ri->atime.tv_sec);
inode->i_ctime = je32_to_cpu(ri->ctime.tv_sec);
inode->i_mtime = je32_to_cpu(ri->mtime.tv_sec);
inode->i_atime.tv_sec = je32_to_cpu(ri->atime);
inode->i_ctime.tv_sec = je32_to_cpu(ri->ctime);
inode->i_mtime.tv_sec = je32_to_cpu(ri->mtime);
inode->i_atime.tv_nsec =
inode->i_ctime.tv_nsec =
inode->i_mtime.tv_nsec = 0;
......
......@@ -90,9 +90,9 @@ void jffs2_read_inode (struct inode *inode)
inode->i_uid = je16_to_cpu(latest_node.uid);
inode->i_gid = je16_to_cpu(latest_node.gid);
inode->i_size = je32_to_cpu(latest_node.isize);
inode->i_atime = je32_to_cpu(latest_node.atime);
inode->i_mtime = je32_to_cpu(latest_node.mtime);
inode->i_ctime = je32_to_cpu(latest_node.ctime);
inode->i_atime.tv_sec = je32_to_cpu(latest_node.atime);
inode->i_mtime.tv_sec = je32_to_cpu(latest_node.mtime);
inode->i_ctime.tv_sec = je32_to_cpu(latest_node.ctime);
inode->i_atime.tv_nsec =
inode->i_mtime.tv_nsec =
inode->i_ctime.tv_nsec = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment