diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2007-10-17 00:38:25 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2007-10-18 00:50:03 +0200 |
commit | ac39849ddc19c0bbb39068497139ac45bccd4321 (patch) | |
tree | b5a6a17f1cd9c98374b91feafcf554bf5197c44d /fs/ext4/xattr.c | |
parent | ext4: Convert ext4_extent_idx.ei_leaf to ext4_extent_idx.ei_leaf_lo (diff) | |
download | linux-ac39849ddc19c0bbb39068497139ac45bccd4321.tar.xz linux-ac39849ddc19c0bbb39068497139ac45bccd4321.zip |
ext4: sparse fixes
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'fs/ext4/xattr.c')
-rw-r--r-- | fs/ext4/xattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c index 12c7d65fb0ca..86387302c2a9 100644 --- a/fs/ext4/xattr.c +++ b/fs/ext4/xattr.c @@ -1120,7 +1120,7 @@ int ext4_expand_extra_isize_ea(struct inode *inode, int new_extra_isize, int total_ino, total_blk; void *base, *start, *end; int extra_isize = 0, error = 0, tried_min_extra_isize = 0; - int s_min_extra_isize = EXT4_SB(inode->i_sb)->s_es->s_min_extra_isize; + int s_min_extra_isize = le16_to_cpu(EXT4_SB(inode->i_sb)->s_es->s_min_extra_isize); down_write(&EXT4_I(inode)->xattr_sem); retry: @@ -1292,7 +1292,7 @@ retry: i.name = b_entry_name; i.value = buffer; - i.value_len = cpu_to_le32(size); + i.value_len = size; error = ext4_xattr_block_find(inode, &i, bs); if (error) goto cleanup; |