aboutsummaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--fs/ext4/inode.c4
-rw-r--r--include/linux/ext4_fs.h2
2 files changed, 3 insertions, 3 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 {
diff --git a/include/linux/ext4_fs.h b/include/linux/ext4_fs.h
index 1a27433b159a..6894f361d01d 100644
--- a/include/linux/ext4_fs.h
+++ b/include/linux/ext4_fs.h
@@ -297,7 +297,7 @@ struct ext4_inode {
297 } osd1; /* OS dependent 1 */ 297 } osd1; /* OS dependent 1 */
298 __le32 i_block[EXT4_N_BLOCKS];/* Pointers to blocks */ 298 __le32 i_block[EXT4_N_BLOCKS];/* Pointers to blocks */
299 __le32 i_generation; /* File version (for NFS) */ 299 __le32 i_generation; /* File version (for NFS) */
300 __le32 i_file_acl; /* File ACL */ 300 __le32 i_file_acl_lo; /* File ACL */
301 __le32 i_dir_acl; /* Directory ACL */ 301 __le32 i_dir_acl; /* Directory ACL */
302 __le32 i_obso_faddr; /* Obsoleted fragment address */ 302 __le32 i_obso_faddr; /* Obsoleted fragment address */
303 union { 303 union {