diff options
Diffstat (limited to 'fs/ext2')
-rw-r--r-- | fs/ext2/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index dd4e14c221e0..9fa1bd65a028 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c | |||
@@ -1079,9 +1079,9 @@ void ext2_read_inode (struct inode * inode) | |||
1079 | } | 1079 | } |
1080 | inode->i_nlink = le16_to_cpu(raw_inode->i_links_count); | 1080 | inode->i_nlink = le16_to_cpu(raw_inode->i_links_count); |
1081 | inode->i_size = le32_to_cpu(raw_inode->i_size); | 1081 | inode->i_size = le32_to_cpu(raw_inode->i_size); |
1082 | inode->i_atime.tv_sec = le32_to_cpu(raw_inode->i_atime); | 1082 | inode->i_atime.tv_sec = (signed)le32_to_cpu(raw_inode->i_atime); |
1083 | inode->i_ctime.tv_sec = le32_to_cpu(raw_inode->i_ctime); | 1083 | inode->i_ctime.tv_sec = (signed)le32_to_cpu(raw_inode->i_ctime); |
1084 | inode->i_mtime.tv_sec = le32_to_cpu(raw_inode->i_mtime); | 1084 | inode->i_mtime.tv_sec = (signed)le32_to_cpu(raw_inode->i_mtime); |
1085 | inode->i_atime.tv_nsec = inode->i_mtime.tv_nsec = inode->i_ctime.tv_nsec = 0; | 1085 | inode->i_atime.tv_nsec = inode->i_mtime.tv_nsec = inode->i_ctime.tv_nsec = 0; |
1086 | ei->i_dtime = le32_to_cpu(raw_inode->i_dtime); | 1086 | ei->i_dtime = le32_to_cpu(raw_inode->i_dtime); |
1087 | /* We now have enough fields to check if the inode was active or not. | 1087 | /* We now have enough fields to check if the inode was active or not. |