diff options
Diffstat (limited to 'fs/gfs2/ondisk.c')
-rw-r--r-- | fs/gfs2/ondisk.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/ondisk.c b/fs/gfs2/ondisk.c index e224f6a22641..b4e354b18815 100644 --- a/fs/gfs2/ondisk.c +++ b/fs/gfs2/ondisk.c | |||
@@ -164,7 +164,7 @@ void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf) | |||
164 | str->di_mode = cpu_to_be32(ip->i_inode.i_mode); | 164 | str->di_mode = cpu_to_be32(ip->i_inode.i_mode); |
165 | str->di_uid = cpu_to_be32(ip->i_inode.i_uid); | 165 | str->di_uid = cpu_to_be32(ip->i_inode.i_uid); |
166 | str->di_gid = cpu_to_be32(ip->i_inode.i_gid); | 166 | str->di_gid = cpu_to_be32(ip->i_inode.i_gid); |
167 | str->di_nlink = cpu_to_be32(di->di_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(di->di_atime); |
@@ -191,7 +191,6 @@ void gfs2_dinode_print(const struct gfs2_inode *ip) | |||
191 | 191 | ||
192 | gfs2_inum_print(&ip->i_num); | 192 | gfs2_inum_print(&ip->i_num); |
193 | 193 | ||
194 | pv(di, di_nlink, "%u"); | ||
195 | 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); |
196 | 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); |
197 | printk(KERN_INFO " di_atime = %lld\n", (long long)di->di_atime); | 196 | printk(KERN_INFO " di_atime = %lld\n", (long long)di->di_atime); |