diff options
Diffstat (limited to 'fs/gfs2/super.c')
-rw-r--r-- | fs/gfs2/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index 7cc5a6054547..a03425376500 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c | |||
@@ -721,8 +721,8 @@ void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf) | |||
721 | str->di_num.no_addr = cpu_to_be64(ip->i_no_addr); | 721 | str->di_num.no_addr = cpu_to_be64(ip->i_no_addr); |
722 | str->di_num.no_formal_ino = cpu_to_be64(ip->i_no_formal_ino); | 722 | str->di_num.no_formal_ino = cpu_to_be64(ip->i_no_formal_ino); |
723 | str->di_mode = cpu_to_be32(ip->i_inode.i_mode); | 723 | str->di_mode = cpu_to_be32(ip->i_inode.i_mode); |
724 | str->di_uid = cpu_to_be32(ip->i_inode.i_uid); | 724 | str->di_uid = cpu_to_be32(i_uid_read(&ip->i_inode)); |
725 | str->di_gid = cpu_to_be32(ip->i_inode.i_gid); | 725 | str->di_gid = cpu_to_be32(i_gid_read(&ip->i_inode)); |
726 | str->di_nlink = cpu_to_be32(ip->i_inode.i_nlink); | 726 | str->di_nlink = cpu_to_be32(ip->i_inode.i_nlink); |
727 | str->di_size = cpu_to_be64(i_size_read(&ip->i_inode)); | 727 | str->di_size = cpu_to_be64(i_size_read(&ip->i_inode)); |
728 | str->di_blocks = cpu_to_be64(gfs2_get_inode_blocks(&ip->i_inode)); | 728 | str->di_blocks = cpu_to_be64(gfs2_get_inode_blocks(&ip->i_inode)); |