diff options
Diffstat (limited to 'fs/gfs2/ondisk.c')
-rw-r--r-- | fs/gfs2/ondisk.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/fs/gfs2/ondisk.c b/fs/gfs2/ondisk.c index b4e354b1881..82003e872a3 100644 --- a/fs/gfs2/ondisk.c +++ b/fs/gfs2/ondisk.c | |||
@@ -167,9 +167,9 @@ void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf) | |||
167 | str->di_nlink = cpu_to_be32(ip->i_inode.i_nlink); | 167 | str->di_nlink = cpu_to_be32(ip->i_inode.i_nlink); |
168 | str->di_size = cpu_to_be64(di->di_size); | 168 | str->di_size = cpu_to_be64(di->di_size); |
169 | str->di_blocks = cpu_to_be64(di->di_blocks); | 169 | str->di_blocks = cpu_to_be64(di->di_blocks); |
170 | str->di_atime = cpu_to_be64(di->di_atime); | 170 | str->di_atime = cpu_to_be64(ip->i_inode.i_atime.tv_sec); |
171 | str->di_mtime = cpu_to_be64(di->di_mtime); | 171 | str->di_mtime = cpu_to_be64(ip->i_inode.i_mtime.tv_sec); |
172 | str->di_ctime = cpu_to_be64(di->di_ctime); | 172 | str->di_ctime = cpu_to_be64(ip->i_inode.i_ctime.tv_sec); |
173 | 173 | ||
174 | str->di_goal_meta = cpu_to_be64(di->di_goal_meta); | 174 | str->di_goal_meta = cpu_to_be64(di->di_goal_meta); |
175 | str->di_goal_data = cpu_to_be64(di->di_goal_data); | 175 | str->di_goal_data = cpu_to_be64(di->di_goal_data); |
@@ -193,10 +193,6 @@ void gfs2_dinode_print(const struct gfs2_inode *ip) | |||
193 | 193 | ||
194 | printk(KERN_INFO " di_size = %llu\n", (unsigned long long)di->di_size); | 194 | printk(KERN_INFO " di_size = %llu\n", (unsigned long long)di->di_size); |
195 | printk(KERN_INFO " di_blocks = %llu\n", (unsigned long long)di->di_blocks); | 195 | printk(KERN_INFO " di_blocks = %llu\n", (unsigned long long)di->di_blocks); |
196 | printk(KERN_INFO " di_atime = %lld\n", (long long)di->di_atime); | ||
197 | printk(KERN_INFO " di_mtime = %lld\n", (long long)di->di_mtime); | ||
198 | printk(KERN_INFO " di_ctime = %lld\n", (long long)di->di_ctime); | ||
199 | |||
200 | printk(KERN_INFO " di_goal_meta = %llu\n", (unsigned long long)di->di_goal_meta); | 196 | printk(KERN_INFO " di_goal_meta = %llu\n", (unsigned long long)di->di_goal_meta); |
201 | printk(KERN_INFO " di_goal_data = %llu\n", (unsigned long long)di->di_goal_data); | 197 | printk(KERN_INFO " di_goal_data = %llu\n", (unsigned long long)di->di_goal_data); |
202 | 198 | ||