aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2008-01-28 23:58:27 -0500
committerTheodore Ts'o <tytso@mit.edu>2008-01-28 23:58:27 -0500
commit7973c0c19ecba92f113488045005f8e7ce1cd7c8 (patch)
treec02d6f963d53b362265715c74b8189aef29ae808 /fs/ext4/inode.c
parent1d03ec984ca41ba184822d1101babb3fa3e26c77 (diff)
ext4: Rename i_file_acl to i_file_acl_lo
Rename i_file_acl to i_file_acl_lo. This helps in finding bugs where we use i_file_acl instead of the combined i_file_acl_lo and i_file_acl_high Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r--fs/ext4/inode.c4
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 {