Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71087
b: refs/heads/master
c: ac39849
h: refs/heads/master
i:
  71085: ef22471
  71083: 3e97510
  71079: 6564cb3
  71071: af8ce6a
v: v3
  • Loading branch information
Aneesh Kumar K.V authored and Theodore Ts'o committed Oct 17, 2007
1 parent 4d539d2 commit ecf9de4
Show file tree
Hide file tree
Showing 4 changed files with 5 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: d8dd0b45438d62fc4a93d8e3cee9985710d01e40
refs/heads/master: ac39849ddc19c0bbb39068497139ac45bccd4321
2 changes: 1 addition & 1 deletion trunk/fs/ext4/fsync.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ int ext4_sync_file(struct file * file, struct dentry *dentry, int datasync)
struct inode *inode = dentry->d_inode;
int ret = 0;

J_ASSERT(ext4_journal_current_handle() == 0);
J_ASSERT(ext4_journal_current_handle() == NULL);

/*
* data=writeback:
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/ext4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ struct buffer_head *ext4_getblk(handle_t *handle, struct inode *inode,
}
if (buffer_new(&dummy)) {
J_ASSERT(create != 0);
J_ASSERT(handle != 0);
J_ASSERT(handle != NULL);

/*
* Now that we do not always journal data, we should
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/ext4/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -1292,7 +1292,7 @@ int ext4_expand_extra_isize_ea(struct inode *inode, int new_extra_isize,

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;
Expand Down

0 comments on commit ecf9de4

Please sign in to comment.