diff options
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r-- | fs/ext4/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 76ceba2718b9..7bcec1860084 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c | |||
@@ -2718,7 +2718,7 @@ void ext4_read_inode(struct inode * inode) | |||
2718 | } | 2718 | } |
2719 | inode->i_blocks = le32_to_cpu(raw_inode->i_blocks); | 2719 | inode->i_blocks = le32_to_cpu(raw_inode->i_blocks); |
2720 | ei->i_flags = le32_to_cpu(raw_inode->i_flags); | 2720 | ei->i_flags = le32_to_cpu(raw_inode->i_flags); |
2721 | ei->i_file_acl = le32_to_cpu(raw_inode->i_file_acl); | 2721 | ei->i_file_acl = le32_to_cpu(raw_inode->i_file_acl_lo); |
2722 | if (EXT4_SB(inode->i_sb)->s_es->s_creator_os != | 2722 | if (EXT4_SB(inode->i_sb)->s_es->s_creator_os != |
2723 | cpu_to_le32(EXT4_OS_HURD)) | 2723 | cpu_to_le32(EXT4_OS_HURD)) |
2724 | ei->i_file_acl |= | 2724 | ei->i_file_acl |= |
@@ -2866,7 +2866,7 @@ static int ext4_do_update_inode(handle_t *handle, | |||
2866 | cpu_to_le32(EXT4_OS_HURD)) | 2866 | cpu_to_le32(EXT4_OS_HURD)) |
2867 | raw_inode->i_file_acl_high = | 2867 | raw_inode->i_file_acl_high = |
2868 | cpu_to_le16(ei->i_file_acl >> 32); | 2868 | cpu_to_le16(ei->i_file_acl >> 32); |
2869 | raw_inode->i_file_acl = cpu_to_le32(ei->i_file_acl); | 2869 | raw_inode->i_file_acl_lo = cpu_to_le32(ei->i_file_acl); |
2870 | if (!S_ISREG(inode->i_mode)) { | 2870 | if (!S_ISREG(inode->i_mode)) { |
2871 | raw_inode->i_dir_acl = cpu_to_le32(ei->i_dir_acl); | 2871 | raw_inode->i_dir_acl = cpu_to_le32(ei->i_dir_acl); |
2872 | } else { | 2872 | } else { |