Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296544
b: refs/heads/master
c: f1b3a2a
h: refs/heads/master
v: v3
  • Loading branch information
Zheng Liu authored and Theodore Ts'o committed Feb 20, 2012
1 parent 8c8a966 commit 010f96e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 661aa520577046192e50467b28c9c5726a8a9fb1
refs/heads/master: f1b3a2a75356ce9fdcbedd79d2bb0d1ca8ed9cee
5 changes: 1 addition & 4 deletions trunk/fs/ext4/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,10 @@ ext4_xattr_check_names(struct ext4_xattr_entry *entry, void *end)
static inline int
ext4_xattr_check_block(struct buffer_head *bh)
{
int error;

if (BHDR(bh)->h_magic != cpu_to_le32(EXT4_XATTR_MAGIC) ||
BHDR(bh)->h_blocks != cpu_to_le32(1))
return -EIO;
error = ext4_xattr_check_names(BFIRST(bh), bh->b_data + bh->b_size);
return error;
return ext4_xattr_check_names(BFIRST(bh), bh->b_data + bh->b_size);
}

static inline int
Expand Down

0 comments on commit 010f96e

Please sign in to comment.